Skip to content

Commit 5102ead

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.19.3
1 parent 75d3ec5 commit 5102ead

30 files changed

+134
-136
lines changed

commerce/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if res.company_info is not None:
3434
<!-- End SDK Example Usage -->
3535

3636
<!-- Start SDK Available Operations -->
37-
## SDK Available Operations
37+
## Available Resources and Operations
3838

3939

4040
### company_info

commerce/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,12 @@ Based on:
182182
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
183183
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
184184
### Releases
185-
- [PyPI v0.9.4] https://pypi.org/project/codat-commerce/0.9.4 - commerce
185+
- [PyPI v0.9.4] https://pypi.org/project/codat-commerce/0.9.4 - commerce
186+
187+
## 2023-04-01 00:20:16
188+
### Changes
189+
Based on:
190+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Commerce.yaml
191+
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
192+
### Releases
193+
- [PyPI v0.9.5] https://pypi.org/project/codat-commerce/0.9.5 - 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: 8969037f6f6767ed28a128d27a9d0dcb
3+
docChecksum: 3bdd10a5d226e95d13d61f55ea67a1cd
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.19.2
6-
generationVersion: 2.16.5
5+
speakeasyVersion: 1.19.3
6+
generationVersion: 2.16.7
77
generation:
88
telemetryEnabled: false
99
sdkClassName: codat
1010
sdkFlattening: true
1111
singleTagPerOp: false
1212
python:
13-
version: 0.9.4
13+
version: 0.9.5
1414
author: Speakeasy
1515
description: Python Client SDK Generated by Speakeasy
1616
packageName: codat-commerce

commerce/pylintrc

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -124,12 +124,7 @@ attr-naming-style=snake_case
124124
#attr-rgx=
125125

126126
# Bad variable names which should always be refused, separated by a comma.
127-
bad-names=foo,
128-
bar,
129-
baz,
130-
toto,
131-
tutu,
132-
tata
127+
bad-names=
133128

134129
# Bad variable names regexes, separated by a comma. If names match any regex,
135130
# they will always be refused
@@ -439,7 +434,10 @@ disable=raw-checker-failed,
439434
trailing-newlines,
440435
too-many-public-methods,
441436
too-many-locals,
442-
too-many-lines
437+
too-many-lines,
438+
using-constant-test,
439+
too-many-statements,
440+
cyclic-import,
443441

444442
# Enable the message, report, category or checker with the given id(s). You can
445443
# either give multiple identifier separated by comma (,) or put this option

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.4",
13+
version="0.9.5",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

commerce/src/codat/models/shared/addresstype_enum.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
class AddressTypeEnum(str, Enum):
77
r"""The type of the address"""
8-
BILLING = "Billing"
9-
DELIVERY = "Delivery"
10-
ORDER = "Order"
11-
INVENTORY = "Inventory"
12-
UNKNOWN = "Unknown"
8+
BILLING = 'Billing'
9+
DELIVERY = 'Delivery'
10+
ORDER = 'Order'
11+
INVENTORY = 'Inventory'
12+
UNKNOWN = 'Unknown'

commerce/src/codat/models/shared/companyinfo.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
class CompanyInfoWeblinkTypeEnum(str, Enum):
1414
r"""The type of the weblink."""
15-
WEBSITE = "Website"
16-
SOCIAL = "Social"
17-
UNKNOWN = "Unknown"
15+
WEBSITE = 'Website'
16+
SOCIAL = 'Social'
17+
UNKNOWN = 'Unknown'
1818

1919

2020
@dataclass_json(undefined=Undefined.EXCLUDE)
@@ -31,11 +31,10 @@ class CompanyInfoWeblink:
3131
@dataclass_json(undefined=Undefined.EXCLUDE)
3232
@dataclasses.dataclass
3333
class CompanyInfo:
34-
r"""In the Codat system, company information includes standard commercial details about
34+
r"""In the Codat system, company information includes standard commercial details about
3535
a linked company, such as their address, phone number, and company registration.
3636
3737
Explore our [data coverage](https://knowledge.codat.io/supported-features/commerce?view=tab-by-data-type&dataType=companyInfo) for this data type.
38-
3938
"""
4039

4140
account_balances: Optional[list[shared_accountbalance.AccountBalance]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountBalances'), 'exclude': lambda f: f is None }})
@@ -58,7 +57,7 @@ class CompanyInfo:
5857
company_name: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('companyName'), 'exclude': lambda f: f is None }})
5958
r"""The name of the company"""
6059
created_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdDate'), 'exclude': lambda f: f is None }})
61-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
60+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
6261
6362
```
6463
2020-10-08T22:40:50Z
@@ -79,7 +78,7 @@ class CompanyInfo:
7978
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
8079
"""
8180
modified_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('modifiedDate'), 'exclude': lambda f: f is None }})
82-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
81+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
8382
8483
```
8584
2020-10-08T22:40:50Z
@@ -104,7 +103,7 @@ class CompanyInfo:
104103
registration_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('registrationNumber'), 'exclude': lambda f: f is None }})
105104
r"""The registration number of the company"""
106105
source_modified_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceModifiedDate'), 'exclude': lambda f: f is None }})
107-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
106+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
108107
109108
```
110109
2020-10-08T22:40:50Z

commerce/src/codat/models/shared/customer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Customer:
2121
addresses: Optional[list[shared_address.Address]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('addresses'), 'exclude': lambda f: f is None }})
2222
r"""Addresses of the customer"""
2323
created_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdDate'), 'exclude': lambda f: f is None }})
24-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
24+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
2525
2626
```
2727
2020-10-08T22:40:50Z
@@ -47,7 +47,7 @@ class Customer:
4747
email_address: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('emailAddress'), 'exclude': lambda f: f is None }})
4848
r"""Email address of the customer"""
4949
modified_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('modifiedDate'), 'exclude': lambda f: f is None }})
50-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
50+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
5151
5252
```
5353
2020-10-08T22:40:50Z
@@ -72,7 +72,7 @@ class Customer:
7272
phone: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('phone'), 'exclude': lambda f: f is None }})
7373
r"""A phone number."""
7474
source_modified_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceModifiedDate'), 'exclude': lambda f: f is None }})
75-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
75+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
7676
7777
```
7878
2020-10-08T22:40:50Z

commerce/src/codat/models/shared/dispute.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
@dataclass_json(undefined=Undefined.EXCLUDE)
1313
@dataclasses.dataclass
1414
class Dispute:
15-
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:
15+
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:
1616
- They didn't receive an order.
1717
- The product they received was different to the commerce store's description.
1818
- They've been the victim of online fraud.
@@ -34,7 +34,7 @@ class Dispute:
3434
id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }})
3535
r"""A unique, persistent identifier for this record"""
3636
created_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdDate'), 'exclude': lambda f: f is None }})
37-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
37+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
3838
3939
```
4040
2020-10-08T22:40:50Z
@@ -56,7 +56,7 @@ class Dispute:
5656
"""
5757
disputed_transactions: Optional[shared_transactionsourceref.TransactionSourceRef] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('disputedTransactions'), 'exclude': lambda f: f is None }})
5858
due_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('dueDate'), 'exclude': lambda f: f is None }})
59-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
59+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
6060
6161
```
6262
2020-10-08T22:40:50Z
@@ -77,7 +77,7 @@ class Dispute:
7777
> Where it is not available from the underlying platform, Codat will return these as times local to the business whose data has been synced.
7878
"""
7979
modified_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('modifiedDate'), 'exclude': lambda f: f is None }})
80-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
80+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
8181
8282
```
8383
2020-10-08T22:40:50Z
@@ -100,7 +100,7 @@ class Dispute:
100100
reason: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('reason'), 'exclude': lambda f: f is None }})
101101
r"""Reason for the dispute"""
102102
source_modified_date: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('sourceModifiedDate'), 'exclude': lambda f: f is None }})
103-
r"""In Codat's data model, dates and times are represented using the <a class=\"external\" href=\"https://en.wikipedia.org/wiki/ISO_8601\" target=\"_blank\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
103+
r"""In Codat's data model, dates and times are represented using the <a class=\\"external\\" href=\\"https://en.wikipedia.org/wiki/ISO_8601\\" target=\\"_blank\\">ISO 8601 standard</a>. Date and time fields are formatted as strings; for example:
104104
105105
```
106106
2020-10-08T22:40:50Z

commerce/src/codat/models/shared/disputestatus_enum.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@
55

66
class DisputeStatusEnum(str, Enum):
77
r"""Current status of the dispute"""
8-
WON = "Won"
9-
LOST = "Lost"
10-
ACCEPTED = "Accepted"
11-
PROCESSING = "Processing"
12-
CHARGE_REFUNDED = "ChargeRefunded"
13-
EVIDENCE_REQUIRED = "EvidenceRequired"
14-
INQUIRY_EVIDENCE_REQUIRED = "InquiryEvidenceRequired"
15-
INQUIRY_PROCESSING = "InquiryProcessing"
16-
INQUIRY_CLOSED = "InquiryClosed"
17-
WAITING_THIRD_PARTY = "WaitingThirdParty"
18-
UNKNOWN = "Unknown"
8+
WON = 'Won'
9+
LOST = 'Lost'
10+
ACCEPTED = 'Accepted'
11+
PROCESSING = 'Processing'
12+
CHARGE_REFUNDED = 'ChargeRefunded'
13+
EVIDENCE_REQUIRED = 'EvidenceRequired'
14+
INQUIRY_EVIDENCE_REQUIRED = 'InquiryEvidenceRequired'
15+
INQUIRY_PROCESSING = 'InquiryProcessing'
16+
INQUIRY_CLOSED = 'InquiryClosed'
17+
WAITING_THIRD_PARTY = 'WaitingThirdParty'
18+
UNKNOWN = 'Unknown'

0 commit comments

Comments
 (0)