Skip to content

Commit a1fc6de

Browse files
authored
Merge pull request #58 from codatio/speakeasy-sdk-regen-1679098039
chore: speakeasy sdk regeneration - Generate Sync Commerce SDK
2 parents 33b0ae7 + 18ccf63 commit a1fc6de

File tree

97 files changed

+2076
-2416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+2076
-2416
lines changed

synccommerce/README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,52 +21,52 @@ s = codat.Codat(
2121
)
2222

2323

24-
req = operations.AddDataConnectionRequest(
25-
request_body="unde",
26-
company_id="deserunt",
24+
req = shared.CreateCompany(
25+
name="Bob's Burgers",
2726
)
2827

29-
res = s.company_management.add_data_connection(req)
28+
res = s.company_management.create_company(req)
3029

31-
if res.add_data_connection_200_application_json_object is not None:
30+
if res.company is not None:
3231
# handle response
3332
```
3433
<!-- End SDK Example Usage -->
3534

3635
<!-- Start SDK Available Operations -->
37-
## SDK Available Operations
36+
## Available Resources and Operations
3837

3938

4039
### company_management
4140

42-
* `add_data_connection` - Create data connection
43-
* `companies` - List companies
44-
* `get_dataconnections` - List connections
45-
* `post_companies` - Create a Sync for Commerce company
46-
* `update_data_connection` - Update data connection
41+
* `create_company` - Create a sync for commerce company
42+
* `create_connection` - Create a data connection
43+
* `list_companies` - List companies
44+
* `list_connections` - List data connections
45+
* `update_connection` - Update data connection
46+
47+
### configuration
48+
49+
* `get_configuration` - Retrieve config preferences set for a company.
50+
* `get_sync_status` - Get status for a company's syncs
51+
* `set_configuration` - Create or update configuration.
4752

4853
### integrations
4954

5055
* `get_integration_branding` - Get branding for an integration
51-
* `get_integrations` - List Codat's integrations
56+
* `list_integrations` - List information on Codat's supported integrations
5257

5358
### sync
5459

55-
* `post_sync_latest` - Sync commerce data
56-
57-
### sync_configuration
58-
59-
* `configure_sync` - Update Sync for Commerce settings
60-
* `get_company_commerce_sync_status` - Get Sync for Commerce status
61-
* `get_sync_flow_url` - Get Sync Flow Url
62-
* `get_sync_options` - List options for Sync for Commerce settings
60+
* `request_sync` - Run a Commerce sync from the last successful sync
61+
* `request_sync_for_date_range` - Run a Commerce sync from a given date range
6362

64-
### sync_data
63+
### sync_flow_preferences
6564

66-
* `check_data_status` - Get dataset status
67-
* `send_orders_data` - Create orders dataset
68-
* `send_payments_data` - Create payments dataset
69-
* `send_transactions_data` - Create transactions dataset
65+
* `get_config_text_sync_flow` - Retrieve preferences for text fields on Sync Flow
66+
* `get_sync_flow_url` - Retrieve sync flow url
67+
* `get_visible_accounts` - List visible accounts
68+
* `update_config_text_sync_flow` - Update preferences for text fields on sync flow
69+
* `update_visible_accounts_sync_flow` - Update the visible accounts on Sync Flow
7070
<!-- End SDK Available Operations -->
7171

7272
### SDK Generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

synccommerce/RELEASES.md

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,84 @@ Based on:
9494
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
9595
- Speakeasy CLI 1.12.1 https://github.com/speakeasy-api/speakeasy
9696
### Releases
97-
- [PyPI v0.5.1] https://pypi.org/project/codat-synccommerce/0.5.1 - synccommerce
97+
- [PyPI v0.5.1] https://pypi.org/project/codat-synccommerce/0.5.1 - synccommerce
98+
99+
## 2023-03-18 00:07:17
100+
### Changes
101+
Based on:
102+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
103+
- Speakeasy CLI 1.12.3 https://github.com/speakeasy-api/speakeasy
104+
### Releases
105+
- [PyPI v0.5.2] https://pypi.org/project/codat-synccommerce/0.5.2 - synccommerce
106+
107+
## 2023-03-21 00:07:13
108+
### Changes
109+
Based on:
110+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
111+
- Speakeasy CLI 1.12.4 https://github.com/speakeasy-api/speakeasy
112+
### Releases
113+
- [PyPI v0.5.3] https://pypi.org/project/codat-synccommerce/0.5.3 - synccommerce
114+
115+
## 2023-03-23 00:07:26
116+
### Changes
117+
Based on:
118+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
119+
- Speakeasy CLI 1.15.0 (2.13.1) https://github.com/speakeasy-api/speakeasy
120+
### Releases
121+
- [PyPI v0.6.0] https://pypi.org/project/codat-synccommerce/0.6.0 - synccommerce
122+
123+
## 2023-03-24 00:07:24
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
127+
- Speakeasy CLI 1.17.0 (2.15.0) https://github.com/speakeasy-api/speakeasy
128+
### Releases
129+
- [PyPI v0.7.0] https://pypi.org/project/codat-synccommerce/0.7.0 - synccommerce
130+
131+
## 2023-03-25 00:07:12
132+
### Changes
133+
Based on:
134+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
135+
- Speakeasy CLI 1.18.7 (2.16.1) https://github.com/speakeasy-api/speakeasy
136+
### Releases
137+
- [PyPI v0.8.0] https://pypi.org/project/codat-synccommerce/0.8.0 - synccommerce
138+
139+
## 2023-03-28 00:07:59
140+
### Changes
141+
Based on:
142+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
143+
- Speakeasy CLI 1.18.9 (2.16.4) https://github.com/speakeasy-api/speakeasy
144+
### Releases
145+
- [PyPI v0.8.1] https://pypi.org/project/codat-synccommerce/0.8.1 - synccommerce
146+
147+
## 2023-03-29 00:08:20
148+
### Changes
149+
Based on:
150+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
151+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
152+
### Releases
153+
- [PyPI v0.8.2] https://pypi.org/project/codat-synccommerce/0.8.2 - synccommerce
154+
155+
## 2023-03-30 00:07:49
156+
### Changes
157+
Based on:
158+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
159+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
160+
### Releases
161+
- [PyPI v0.8.3] https://pypi.org/project/codat-synccommerce/0.8.3 - synccommerce
162+
163+
## 2023-03-31 00:07:55
164+
### Changes
165+
Based on:
166+
- OpenAPI Doc 1.1 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Commerce.yaml
167+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
168+
### Releases
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/USAGE.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ s = codat.Codat(
1010
)
1111

1212

13-
req = operations.AddDataConnectionRequest(
14-
request_body="unde",
15-
company_id="deserunt",
13+
req = shared.CreateCompany(
14+
name="Bob's Burgers",
1615
)
1716

18-
res = s.company_management.add_data_connection(req)
17+
res = s.company_management.create_company(req)
1918

20-
if res.add_data_connection_200_application_json_object is not None:
19+
if res.company is not None:
2120
# handle response
2221
```
2322
<!-- End SDK Example Usage -->

synccommerce/files.gen

Lines changed: 59 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
src/codat/company_management.py
2+
src/codat/configuration.py
23
src/codat/integrations.py
34
src/codat/sync.py
4-
src/codat/sync_configuration.py
5-
src/codat/sync_data.py
5+
src/codat/sync_flow_preferences.py
66
src/codat/sdk.py
77
pylintrc
88
setup.py
@@ -11,25 +11,66 @@ src/codat/models/__init__.py
1111
src/codat/utils/__init__.py
1212
src/codat/utils/retries.py
1313
src/codat/utils/utils.py
14-
src/codat/models/operations/add_data_connection.py
15-
src/codat/models/operations/companies.py
16-
src/codat/models/operations/get_dataconnections.py
17-
src/codat/models/operations/post_companies.py
18-
src/codat/models/operations/update_data_connection.py
14+
src/codat/models/operations/create_company.py
15+
src/codat/models/operations/create_connection.py
16+
src/codat/models/operations/list_companies.py
17+
src/codat/models/operations/list_connections.py
18+
src/codat/models/operations/update_connection.py
19+
src/codat/models/operations/get_configuration.py
20+
src/codat/models/operations/get_sync_status.py
21+
src/codat/models/operations/set_configuration.py
1922
src/codat/models/operations/get_integration_branding.py
20-
src/codat/models/operations/get_integrations.py
21-
src/codat/models/operations/post_sync_latest.py
22-
src/codat/models/operations/configure_sync.py
23-
src/codat/models/operations/get_company_commerce_sync_status.py
23+
src/codat/models/operations/list_integrations.py
24+
src/codat/models/operations/request_sync.py
25+
src/codat/models/operations/request_sync_for_date_range.py
26+
src/codat/models/operations/get_config_text_sync_flow.py
2427
src/codat/models/operations/get_sync_flow_url.py
25-
src/codat/models/operations/get_sync_options.py
26-
src/codat/models/operations/check_data_status.py
27-
src/codat/models/operations/send_orders_data.py
28-
src/codat/models/operations/send_payments_data.py
29-
src/codat/models/operations/send_transactions_data.py
28+
src/codat/models/operations/get_visible_accounts.py
29+
src/codat/models/operations/update_config_text_sync_flow.py
30+
src/codat/models/operations/update_visible_accounts_sync_flow.py
3031
src/codat/models/operations/__init__.py
32+
src/codat/models/shared/company.py
33+
src/codat/models/shared/connection.py
34+
src/codat/models/shared/dataconnectionstatus_enum.py
35+
src/codat/models/shared/dataconnectionerror.py
36+
src/codat/models/shared/createcompany.py
37+
src/codat/models/shared/companies.py
38+
src/codat/models/shared/links.py
39+
src/codat/models/shared/halref.py
40+
src/codat/models/shared/connections.py
41+
src/codat/models/shared/updateconnection.py
42+
src/codat/models/shared/configuration.py
43+
src/codat/models/shared/sales.py
44+
src/codat/models/shared/taxrateamount.py
45+
src/codat/models/shared/option.py
46+
src/codat/models/shared/customer.py
47+
src/codat/models/shared/newtaxrates.py
48+
src/codat/models/shared/taxratemapping.py
49+
src/codat/models/shared/invoicestatus.py
50+
src/codat/models/shared/grouping.py
51+
src/codat/models/shared/groupingperiod.py
52+
src/codat/models/shared/groupinglevels.py
53+
src/codat/models/shared/invoicelinelevelselection.py
54+
src/codat/models/shared/invoicelevelselection.py
55+
src/codat/models/shared/configaccount.py
56+
src/codat/models/shared/accountoption.py
57+
src/codat/models/shared/payments.py
58+
src/codat/models/shared/newpayments.py
59+
src/codat/models/shared/fees.py
60+
src/codat/models/shared/feessupplier.py
61+
src/codat/models/shared/integrations.py
62+
src/codat/models/shared/integration.py
63+
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
68+
src/codat/models/shared/syncsummary.py
69+
src/codat/models/shared/daterange.py
70+
src/codat/models/shared/synctolatestargs.py
71+
src/codat/models/shared/localization.py
72+
src/codat/models/shared/syncflowurl.py
73+
src/codat/models/shared/visibleaccounts.py
3174
src/codat/models/shared/security.py
3275
src/codat/models/shared/__init__.py
33-
src/codat/models/webhooks/sync_connection_deleted.py
34-
src/codat/models/webhooks/__init__.py
3576
USAGE.md

synccommerce/gen.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 14c33ec0ee8fd105e857cf9f51835a45
3+
docChecksum: 954c6b4093285b054f92d4d0e134ffb9
44
docVersion: "1.1"
5-
speakeasyVersion: 1.12.1
5+
speakeasyVersion: 1.19.3
6+
generationVersion: 2.16.7
67
generation:
78
telemetryEnabled: false
89
sdkClassName: codat
910
sdkFlattening: true
11+
singleTagPerOp: false
1012
python:
11-
version: 0.5.1
13+
version: 0.8.5
1214
author: Speakeasy
1315
description: Python Client SDK Generated by Speakeasy
1416
packageName: codat-synccommerce

synccommerce/pylintrc

Lines changed: 6 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
@@ -438,7 +433,11 @@ disable=raw-checker-failed,
438433
duplicate-code,
439434
trailing-newlines,
440435
too-many-public-methods,
441-
too-many-locals
436+
too-many-locals,
437+
too-many-lines,
438+
using-constant-test,
439+
too-many-statements,
440+
cyclic-import,
442441

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

synccommerce/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
import setuptools
24

35
try:
@@ -8,7 +10,7 @@
810

911
setuptools.setup(
1012
name="codat-synccommerce",
11-
version="0.5.1",
13+
version="0.8.5",
1214
author="Speakeasy",
1315
description="Python Client SDK Generated by Speakeasy",
1416
long_description=long_description,

synccommerce/src/codat/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT."""
2+
13
from .sdk import *

0 commit comments

Comments
 (0)