Skip to content

Commit 662d16b

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.19.2
1 parent fd6657b commit 662d16b

15 files changed

+124
-51
lines changed

commerce/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,12 @@ Based on:
158158
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
159159
- Speakeasy CLI 1.18.9 (2.16.4) https://github.com/speakeasy-api/speakeasy
160160
### Releases
161-
- [PyPI v0.9.1] https://pypi.org/project/codat-commerce/0.9.1 - commerce
161+
- [PyPI v0.9.1] https://pypi.org/project/codat-commerce/0.9.1 - commerce
162+
163+
## 2023-03-29 00:22:13
164+
### Changes
165+
Based on:
166+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
167+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
168+
### Releases
169+
- [PyPI v0.9.2] https://pypi.org/project/codat-commerce/0.9.2 - commerce

commerce/gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: f5ac9a50081db95668ddf00d5a91939b
3+
docChecksum: e82cca9032619d65c284dfc97572f754
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.18.9
6-
generationVersion: 2.16.4
5+
speakeasyVersion: 1.19.2
6+
generationVersion: 2.16.5
77
generation:
88
telemetryEnabled: false
99
sdkClassName: codat
1010
sdkFlattening: true
1111
singleTagPerOp: false
1212
python:
13-
version: 0.9.1
13+
version: 0.9.2
1414
author: Speakeasy
1515
description: Python Client SDK Generated by Speakeasy
1616
packageName: codat-commerce

commerce/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setuptools.setup(
1212
name="codat-commerce",
13-
version="0.9.1",
13+
version="0.9.2",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

commerce/src/codat/models/operations/get_commerce_info.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,16 @@ class GetCommerceInfoSourceModifiedDate:
7777
r"""In the Codat system, company information includes standard commercial details about
7878
a linked company, such as their address, phone number, and company registration.
7979
80+
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=companyInfo) for this data type.
81+
8082
"""
8183

8284
account_balances: Optional[list[GetCommerceInfoSourceModifiedDateAccountBalances]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountBalances'), 'exclude': lambda f: f is None }})
8385
r"""The available and current cash balances for the company's accounts"""
8486
addresses: Optional[list[GetCommerceInfoSourceModifiedDateAddress]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('addresses'), 'exclude': lambda f: f is None }})
8587
r"""Addresses associated with the company"""
8688
base_currency: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('baseCurrency'), 'exclude': lambda f: f is None }})
87-
r"""The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code. e.g. _GBP_.
89+
r"""The currency data type in Codat is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, e.g. _GBP_.
8890
8991
## Unknown currencies
9092

commerce/src/codat/models/operations/get_companies_companyid_connections_connectionid_data_commerce_taxcomponents.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ class GetCompaniesCompanyIDConnectionsConnectionIDDataCommerceTaxComponentsReque
1818
@dataclass_json(undefined=Undefined.EXCLUDE)
1919
@dataclasses.dataclass
2020
class GetCompaniesCompanyIDConnectionsConnectionIDDataCommerceTaxComponents200ApplicationJSONSourceModifiedDate:
21+
r"""The Tax Components endpoints return tax rates data from the commerce platform, including tax rate names and values. This is to support the mapping of tax rates from the commerce platform to those in the accounting platform.
22+
23+
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-disputes) for this data type.
24+
"""
2125

2226
id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }})
2327
r"""A unique, persistent identifier for this record"""

commerce/src/codat/models/operations/list_commerce_customers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ class ListCommerceCustomers200ApplicationJSONSourceModifiedDateAddress:
6767
@dataclass_json(undefined=Undefined.EXCLUDE)
6868
@dataclasses.dataclass
6969
class ListCommerceCustomers200ApplicationJSONSourceModifiedDate:
70-
r"""Represents a customer who has placed an order in the commerce system\""""
70+
r"""When a customer places an order with the connected commerce store their details are added to the Customers dataset. You can use the data from the Customers endpoints to calculate key metrics, such as customer churn.
71+
72+
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-customers) for this data type.
73+
"""
7174

7275
id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }})
7376
r"""A unique, persistent identifier for this record"""

commerce/src/codat/models/operations/list_commerce_disputes.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,15 @@ class ListCommerceDisputes200ApplicationJSONSourceModifiedDateStatusEnum(str, En
7474
@dataclass_json(undefined=Undefined.EXCLUDE)
7575
@dataclasses.dataclass
7676
class ListCommerceDisputes200ApplicationJSONSourceModifiedDate:
77+
r"""A customer may file a payment dispute with their bank or other card issuer when they're unsatisfied with their purchase or believe they have been charged incorrectly. For example:
78+
- They didn't receive an order.
79+
- The product they received was different to the commerce store's description.
80+
- They've been the victim of online fraud.
81+
82+
You can use data from the Disputes endpoints to calculate key metrics, such as the number of chargebacks.
83+
84+
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-disputes) for this data type.
85+
"""
7786

7887
currency: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('currency') }})
7988
r"""Currency of the disputed transaction."""

commerce/src/codat/models/operations/list_commerce_locations.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,7 @@ class ListCommerceLocations200ApplicationJSONSourceModifiedDate:
6565
6666
Locations also holds information on geographic locations where orders were placed, as referenced in the Orders data type.
6767
68-
From the Locations endpoints you can retrieve:
69-
70-
A list of all the Locations of a commerce company: `GET /companies/{companyId}/connections/{connectionId}/data/commerce-locations`.
71-
The details of an individual location: `GET /companies/{companyId}/connections/{connectionId}/data/commerce-locations/{locationId}`.
72-
68+
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-locations) for this data type.
7369
"""
7470

7571
id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }})

commerce/src/codat/models/operations/list_commerce_orders.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,9 @@ class ListCommerceOrders200ApplicationJSONSourceModifiedDateServiceCharges:
177177
@dataclass_json(undefined=Undefined.EXCLUDE)
178178
@dataclasses.dataclass
179179
class ListCommerceOrders200ApplicationJSONSourceModifiedDate:
180-
r"""Orders contain the transaction details for all products sold by the company, and include details of any payments, service charges, or refunds related to each order.
180+
r"""Orders contain the transaction details for all products sold by the company, and include details of any payments, service charges, or refunds related to each order. You can use data from the Orders endpoints to calculate key metrics, such as gross sales values and monthly recurring revenue (MRR).
181181
182-
From the Orders endpoints you can retrieve:
183-
184-
A list of all the orders for a commerce company:
185-
`GET /companies/{companyId}/connections/{connectionId}/data/commerce-orders`.
186-
The details of an individual order:
187-
`GET /companies/{companyId}/connections/{connectionId}/data/commerce-orders/{orderId}`.
188-
Note that for refunds `quantity` is a negative value and `unitPrice` is a positive value.
182+
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-orders) for this data type.
189183
190184
"""
191185

commerce/src/codat/models/operations/list_commerce_paymentmethods.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ class ListCommercePaymentMethods200ApplicationJSONSourceModifiedDateStatusEnum(s
5050
@dataclass_json(undefined=Undefined.EXCLUDE)
5151
@dataclasses.dataclass
5252
class ListCommercePaymentMethods200ApplicationJSONSourceModifiedDate:
53+
r"""A Payment Method represents the payment method(s) used to make payments.
54+
55+
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=commerce-paymentMethods) for this data type.
56+
"""
5357

5458
id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }})
5559
r"""A unique, persistent identifier for this record"""

0 commit comments

Comments
 (0)