Skip to content

Commit 18ccf63

Browse files
committed
ci: regenerated with OpenAPI Doc 1.1, Speakeay CLI 1.19.3
1 parent b8901c3 commit 18ccf63

23 files changed

+166
-129
lines changed

synccommerce/README.md

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

3535
<!-- Start SDK Available Operations -->
36-
## SDK Available Operations
36+
## Available Resources and Operations
3737

3838

3939
### company_management

synccommerce/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,12 @@ Based on:
166166
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
167167
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
168168
### Releases
169-
- [PyPI v0.8.4] https://pypi.org/project/codat-synccommerce/0.8.4 - synccommerce
169+
- [PyPI v0.8.4] https://pypi.org/project/codat-synccommerce/0.8.4 - synccommerce
170+
171+
## 2023-04-01 00:08:11
172+
### Changes
173+
Based on:
174+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
175+
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
176+
### Releases
177+
- [PyPI v0.8.5] https://pypi.org/project/codat-synccommerce/0.8.5 - synccommerce

synccommerce/files.gen

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ src/codat/models/shared/feessupplier.py
6161
src/codat/models/shared/integrations.py
6262
src/codat/models/shared/integration.py
6363
src/codat/models/shared/sourcetype_enum.py
64+
src/codat/models/shared/datatypefeature.py
65+
src/codat/models/shared/supportedfeature.py
66+
src/codat/models/shared/featuretype_enum.py
67+
src/codat/models/shared/featurestate_enum.py
6468
src/codat/models/shared/syncsummary.py
6569
src/codat/models/shared/daterange.py
6670
src/codat/models/shared/synctolatestargs.py

synccommerce/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: 89f6c1468ac43f6cc50aea1ea7166587
3+
docChecksum: 954c6b4093285b054f92d4d0e134ffb9
44
docVersion: "1.1"
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.8.4
13+
version: 0.8.5
1414
author: Speakeasy
1515
description: Python Client SDK Generated by Speakeasy
1616
packageName: codat-synccommerce

synccommerce/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

synccommerce/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-synccommerce",
13-
version="0.8.4",
13+
version="0.8.5",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

synccommerce/src/codat/configuration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ def get_sync_status(self, request: operations.GetSyncStatusRequest) -> operation
6161

6262
res = operations.GetSyncStatusResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res)
6363

64-
if http_res.status_code == 200:
65-
pass
6664

6765
return res
6866

synccommerce/src/codat/integrations.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ def get_integration_branding(self, request: operations.GetIntegrationBrandingReq
3838

3939
res = operations.GetIntegrationBrandingResponse(status_code=http_res.status_code, content_type=content_type, raw_response=http_res)
4040

41-
if http_res.status_code == 200:
42-
pass
4341

4442
return res
4543

synccommerce/src/codat/models/shared/__init__.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
from .customer import *
1212
from .dataconnectionerror import *
1313
from .dataconnectionstatus_enum import *
14+
from .datatypefeature import *
1415
from .daterange import *
16+
from .featurestate_enum import *
17+
from .featuretype_enum import *
1518
from .fees import *
1619
from .feessupplier import *
1720
from .grouping import *
@@ -32,6 +35,7 @@
3235
from .sales import *
3336
from .security import *
3437
from .sourcetype_enum import *
38+
from .supportedfeature import *
3539
from .syncflowurl import *
3640
from .syncsummary import *
3741
from .synctolatestargs import *
@@ -40,4 +44,4 @@
4044
from .updateconnection import *
4145
from .visibleaccounts import *
4246

43-
__all__ = ["AccountOption","Companies","Company","ConfigAccount","Configuration","Connection","ConnectionSourceTypeEnum","Connections","CreateCompany","Customer","DataConnectionError","DataConnectionStatusEnum","DateRange","Fees","FeesSupplier","Grouping","GroupingLevels","GroupingPeriod","HalRef","Integration","IntegrationDatatypeFeature","IntegrationDatatypeFeatureDataTypeEnum","IntegrationDatatypeFeatureSupportedFeatures","IntegrationDatatypeFeatureSupportedFeaturesFeatureStateEnum","IntegrationDatatypeFeatureSupportedFeaturesFeatureTypeEnum","Integrations","InvoiceLevelSelection","InvoiceLineLevelSelection","InvoiceStatus","Links","Localization","NewPayments","NewTaxRates","Option","Payments","Sales","Security","SourceTypeEnum","SyncFlowURL","SyncSummary","SyncToLatestArgs","TaxRateAmount","TaxRateMapping","UpdateConnection","VisibleAccounts"]
47+
__all__ = ["AccountOption","Companies","Company","ConfigAccount","Configuration","Connection","ConnectionSourceTypeEnum","Connections","CreateCompany","Customer","DataConnectionError","DataConnectionStatusEnum","DataTypeFeature","DataTypeFeatureDataTypeEnum","DateRange","FeatureStateEnum","FeatureTypeEnum","Fees","FeesSupplier","Grouping","GroupingLevels","GroupingPeriod","HalRef","Integration","Integrations","InvoiceLevelSelection","InvoiceLineLevelSelection","InvoiceStatus","Links","Localization","NewPayments","NewTaxRates","Option","Payments","Sales","Security","SourceTypeEnum","SupportedFeature","SyncFlowURL","SyncSummary","SyncToLatestArgs","TaxRateAmount","TaxRateMapping","UpdateConnection","VisibleAccounts"]

synccommerce/src/codat/models/shared/company.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Company:
2020
redirect: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('redirect') }})
2121
r"""The `redirect` [Link URL](https://docs.codat.io/auth-flow/authorize-hosted-link) enabling the customer to start their auth flow journey for the company."""
2222
created: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('created'), 'exclude': lambda f: f is None }})
23-
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:
23+
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:
2424
2525
```
2626
2020-10-08T22:40:50Z
@@ -45,7 +45,7 @@ class Company:
4545
description: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('description'), 'exclude': lambda f: f is None }})
4646
r"""Additional information about the company. This can be used to store foreign IDs, references, etc."""
4747
last_sync: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('lastSync'), 'exclude': lambda f: f is None }})
48-
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:
48+
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:
4949
5050
```
5151
2020-10-08T22:40:50Z

0 commit comments

Comments
 (0)