Skip to content

Commit 9cb9836

Browse files
authored
Merge pull request #79 from codatio/speakeasy-sdk-regen-1680740145
chore: speakeasy sdk regeneration - Generate Common SDK
2 parents 6809536 + bd2377f commit 9cb9836

File tree

115 files changed

+720
-298
lines changed

Some content is hidden

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

115 files changed

+720
-298
lines changed

common/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ pip install codat-common
1111
## SDK Example Usage
1212
<!-- Start SDK Example Usage -->
1313
```python
14-
import codat
15-
from codat.models import operations, shared
14+
import codatcommon
15+
from codatcommon.models import operations, shared
1616

17-
s = codat.Codat(
17+
s = codatcommon.CodatCommon(
1818
security=shared.Security(
1919
auth_header="YOUR_API_KEY_HERE",
2020
),
@@ -23,7 +23,7 @@ s = codat.Codat(
2323

2424
req = shared.CompanyRequestBody(
2525
description="corrupti",
26-
name="provident",
26+
name="Kelvin Sporer",
2727
)
2828

2929
res = s.companies.create_company(req)

common/RELEASES.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,36 @@ Based on:
150150
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
151151
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
152152
### Releases
153-
- [PyPI v0.6.5] https://pypi.org/project/codat-common/0.6.5 - common
153+
- [PyPI v0.6.5] https://pypi.org/project/codat-common/0.6.5 - common
154+
155+
## 2023-04-06 00:15:43
156+
### Changes
157+
Based on:
158+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
159+
- Speakeasy CLI 1.19.6 (2.17.8) https://github.com/speakeasy-api/speakeasy
160+
### Releases
161+
- [PyPI v0.7.0] https://pypi.org/project/codat-common/0.7.0 - common
162+
163+
## 2023-04-12 00:16:06
164+
### Changes
165+
Based on:
166+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
167+
- Speakeasy CLI 1.19.7 (2.17.9) https://github.com/speakeasy-api/speakeasy
168+
### Releases
169+
- [PyPI v0.7.1] https://pypi.org/project/codat-common/0.7.1 - common
170+
171+
## 2023-04-14 00:15:47
172+
### Changes
173+
Based on:
174+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
175+
- Speakeasy CLI 1.20.0 (2.18.0) https://github.com/speakeasy-api/speakeasy
176+
### Releases
177+
- [PyPI v0.8.0] https://pypi.org/project/codat-common/0.8.0 - common
178+
179+
## 2023-04-18 00:16:19
180+
### Changes
181+
Based on:
182+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
183+
- Speakeasy CLI 1.20.1 (2.18.1) https://github.com/speakeasy-api/speakeasy
184+
### Releases
185+
- [PyPI v0.8.1] https://pypi.org/project/codat-common/0.8.1 - common

common/USAGE.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!-- Start SDK Example Usage -->
22
```python
3-
import codat
4-
from codat.models import operations, shared
3+
import codatcommon
4+
from codatcommon.models import operations, shared
55

6-
s = codat.Codat(
6+
s = codatcommon.CodatCommon(
77
security=shared.Security(
88
auth_header="YOUR_API_KEY_HERE",
99
),
@@ -12,7 +12,7 @@ s = codat.Codat(
1212

1313
req = shared.CompanyRequestBody(
1414
description="corrupti",
15-
name="provident",
15+
name="Kelvin Sporer",
1616
)
1717

1818
res = s.companies.create_company(req)

common/files.gen

Lines changed: 108 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -1,111 +1,111 @@
1-
src/codat/companies.py
2-
src/codat/connections.py
3-
src/codat/data_status.py
4-
src/codat/integrations.py
5-
src/codat/push_data.py
6-
src/codat/refresh_data.py
7-
src/codat/settings.py
8-
src/codat/webhooks.py
9-
src/codat/sdk.py
1+
src/codatcommon/companies.py
2+
src/codatcommon/connections.py
3+
src/codatcommon/data_status.py
4+
src/codatcommon/integrations.py
5+
src/codatcommon/push_data.py
6+
src/codatcommon/refresh_data.py
7+
src/codatcommon/settings.py
8+
src/codatcommon/webhooks.py
9+
src/codatcommon/sdk.py
1010
pylintrc
1111
setup.py
12-
src/codat/__init__.py
13-
src/codat/models/__init__.py
14-
src/codat/utils/__init__.py
15-
src/codat/utils/retries.py
16-
src/codat/utils/utils.py
17-
src/codat/models/operations/create_company.py
18-
src/codat/models/operations/delete_company.py
19-
src/codat/models/operations/get_company.py
20-
src/codat/models/operations/list_companies.py
21-
src/codat/models/operations/update_company.py
22-
src/codat/models/operations/create_data_connection.py
23-
src/codat/models/operations/delete_company_connection.py
24-
src/codat/models/operations/get_company_connection.py
25-
src/codat/models/operations/list_company_connections.py
26-
src/codat/models/operations/unlink_company_connection.py
27-
src/codat/models/operations/update_connection_authorization.py
28-
src/codat/models/operations/get_company_data_history.py
29-
src/codat/models/operations/get_company_data_status.py
30-
src/codat/models/operations/get_pull_operation.py
31-
src/codat/models/operations/get_integration.py
32-
src/codat/models/operations/get_integrations_branding.py
33-
src/codat/models/operations/list_integrations.py
34-
src/codat/models/operations/get_company_push_history.py
35-
src/codat/models/operations/get_create_update_model_options_by_data_type.py
36-
src/codat/models/operations/get_push_operation.py
37-
src/codat/models/operations/create_pull_operation.py
38-
src/codat/models/operations/refresh_company_data.py
39-
src/codat/models/operations/get_profile.py
40-
src/codat/models/operations/get_profile_syncsettings.py
41-
src/codat/models/operations/update_profile.py
42-
src/codat/models/operations/update_sync_settings.py
43-
src/codat/models/operations/create_rule.py
44-
src/codat/models/operations/get_webhook.py
45-
src/codat/models/operations/list_rules.py
46-
src/codat/models/operations/__init__.py
47-
src/codat/models/shared/errormessage.py
48-
src/codat/models/shared/company.py
49-
src/codat/models/shared/connection.py
50-
src/codat/models/shared/dataconnectionstatus_enum.py
51-
src/codat/models/shared/sourcetype_enum.py
52-
src/codat/models/shared/dataconnectionerror.py
53-
src/codat/models/shared/companyrequestbody.py
54-
src/codat/models/shared/companies.py
55-
src/codat/models/shared/links.py
56-
src/codat/models/shared/href.py
57-
src/codat/models/shared/connections.py
58-
src/codat/models/shared/dataconnectionhistory.py
59-
src/codat/models/shared/pulloperation.py
60-
src/codat/models/shared/datastatus.py
61-
src/codat/models/shared/integration.py
62-
src/codat/models/shared/datatypefeature.py
63-
src/codat/models/shared/supportedfeature.py
64-
src/codat/models/shared/featuretype_enum.py
65-
src/codat/models/shared/featurestate_enum.py
66-
src/codat/models/shared/datatype_enum.py
67-
src/codat/models/shared/branding.py
68-
src/codat/models/shared/brandinglogo.py
69-
src/codat/models/shared/brandingimage.py
70-
src/codat/models/shared/imagereference.py
71-
src/codat/models/shared/brandingbutton.py
72-
src/codat/models/shared/integrations.py
73-
src/codat/models/shared/pushhistoryresponse.py
74-
src/codat/models/shared/pushoperationsummary.py
75-
src/codat/models/shared/validation.py
76-
src/codat/models/shared/validationitem.py
77-
src/codat/models/shared/pushoperationstatus_enum.py
78-
src/codat/models/shared/pushoperationchange.py
79-
src/codat/models/shared/pushchangetype_enum.py
80-
src/codat/models/shared/pushoperationref.py
81-
src/codat/models/shared/pushoption.py
82-
src/codat/models/shared/pushvalidationinfo.py
83-
src/codat/models/shared/pushfieldvalidation.py
84-
src/codat/models/shared/pushoptiontype_enum.py
85-
src/codat/models/shared/pushoptionproperty.py
86-
src/codat/models/shared/pushoptionchoice.py
87-
src/codat/models/shared/pushoperation.py
88-
src/codat/models/shared/profile.py
89-
src/codat/models/shared/syncsettings.py
90-
src/codat/models/shared/syncsetting.py
91-
src/codat/models/shared/rule.py
92-
src/codat/models/shared/rules.py
93-
src/codat/models/shared/security.py
94-
src/codat/models/shared/companydataconnectionstatuschangedwebhook.py
95-
src/codat/models/shared/connectionstatus_enum.py
96-
src/codat/models/shared/datasynccompletedwebhook.py
97-
src/codat/models/shared/datasetdatachangedwebhook.py
98-
src/codat/models/shared/datasetstatuschangederrorwebhook.py
99-
src/codat/models/shared/newcompanysynchronizedwebhook.py
100-
src/codat/models/shared/pushoperationtimedoutwebhook.py
101-
src/codat/models/shared/pushoperationstatuschangedwebhook.py
102-
src/codat/models/shared/__init__.py
103-
src/codat/models/webhooks/company_data_connection_status_changed.py
104-
src/codat/models/webhooks/data_sync_completed.py
105-
src/codat/models/webhooks/dataset_data_changed.py
106-
src/codat/models/webhooks/dataset_status_has_changed_to_an_error_state.py
107-
src/codat/models/webhooks/new_company_synchronized.py
108-
src/codat/models/webhooks/push_operation_has_timed_out.py
109-
src/codat/models/webhooks/push_operation_status_has_changed.py
110-
src/codat/models/webhooks/__init__.py
12+
src/codatcommon/__init__.py
13+
src/codatcommon/models/__init__.py
14+
src/codatcommon/utils/__init__.py
15+
src/codatcommon/utils/retries.py
16+
src/codatcommon/utils/utils.py
17+
src/codatcommon/models/operations/create_company.py
18+
src/codatcommon/models/operations/delete_company.py
19+
src/codatcommon/models/operations/get_company.py
20+
src/codatcommon/models/operations/list_companies.py
21+
src/codatcommon/models/operations/update_company.py
22+
src/codatcommon/models/operations/create_data_connection.py
23+
src/codatcommon/models/operations/delete_company_connection.py
24+
src/codatcommon/models/operations/get_company_connection.py
25+
src/codatcommon/models/operations/list_company_connections.py
26+
src/codatcommon/models/operations/unlink_company_connection.py
27+
src/codatcommon/models/operations/update_connection_authorization.py
28+
src/codatcommon/models/operations/get_company_data_history.py
29+
src/codatcommon/models/operations/get_company_data_status.py
30+
src/codatcommon/models/operations/get_pull_operation.py
31+
src/codatcommon/models/operations/get_integration.py
32+
src/codatcommon/models/operations/get_integrations_branding.py
33+
src/codatcommon/models/operations/list_integrations.py
34+
src/codatcommon/models/operations/get_company_push_history.py
35+
src/codatcommon/models/operations/get_create_update_model_options_by_data_type.py
36+
src/codatcommon/models/operations/get_push_operation.py
37+
src/codatcommon/models/operations/create_pull_operation.py
38+
src/codatcommon/models/operations/refresh_company_data.py
39+
src/codatcommon/models/operations/get_profile.py
40+
src/codatcommon/models/operations/get_profile_syncsettings.py
41+
src/codatcommon/models/operations/update_profile.py
42+
src/codatcommon/models/operations/update_sync_settings.py
43+
src/codatcommon/models/operations/create_rule.py
44+
src/codatcommon/models/operations/get_webhook.py
45+
src/codatcommon/models/operations/list_rules.py
46+
src/codatcommon/models/operations/__init__.py
47+
src/codatcommon/models/shared/errormessage.py
48+
src/codatcommon/models/shared/company.py
49+
src/codatcommon/models/shared/connection.py
50+
src/codatcommon/models/shared/dataconnectionstatus_enum.py
51+
src/codatcommon/models/shared/sourcetype_enum.py
52+
src/codatcommon/models/shared/dataconnectionerror.py
53+
src/codatcommon/models/shared/companyrequestbody.py
54+
src/codatcommon/models/shared/companies.py
55+
src/codatcommon/models/shared/links.py
56+
src/codatcommon/models/shared/href.py
57+
src/codatcommon/models/shared/connections.py
58+
src/codatcommon/models/shared/dataconnectionhistory.py
59+
src/codatcommon/models/shared/pulloperation.py
60+
src/codatcommon/models/shared/datastatus.py
61+
src/codatcommon/models/shared/integration.py
62+
src/codatcommon/models/shared/datatypefeature.py
63+
src/codatcommon/models/shared/supportedfeature.py
64+
src/codatcommon/models/shared/featuretype_enum.py
65+
src/codatcommon/models/shared/featurestate_enum.py
66+
src/codatcommon/models/shared/datatype_enum.py
67+
src/codatcommon/models/shared/branding.py
68+
src/codatcommon/models/shared/brandinglogo.py
69+
src/codatcommon/models/shared/brandingimage.py
70+
src/codatcommon/models/shared/imagereference.py
71+
src/codatcommon/models/shared/brandingbutton.py
72+
src/codatcommon/models/shared/integrations.py
73+
src/codatcommon/models/shared/pushhistoryresponse.py
74+
src/codatcommon/models/shared/pushoperationsummary.py
75+
src/codatcommon/models/shared/validation.py
76+
src/codatcommon/models/shared/validationitem.py
77+
src/codatcommon/models/shared/pushoperationstatus_enum.py
78+
src/codatcommon/models/shared/pushoperationchange.py
79+
src/codatcommon/models/shared/pushchangetype_enum.py
80+
src/codatcommon/models/shared/pushoperationref.py
81+
src/codatcommon/models/shared/pushoption.py
82+
src/codatcommon/models/shared/pushvalidationinfo.py
83+
src/codatcommon/models/shared/pushfieldvalidation.py
84+
src/codatcommon/models/shared/pushoptiontype_enum.py
85+
src/codatcommon/models/shared/pushoptionproperty.py
86+
src/codatcommon/models/shared/pushoptionchoice.py
87+
src/codatcommon/models/shared/pushoperation.py
88+
src/codatcommon/models/shared/profile.py
89+
src/codatcommon/models/shared/syncsettings.py
90+
src/codatcommon/models/shared/syncsetting.py
91+
src/codatcommon/models/shared/rule.py
92+
src/codatcommon/models/shared/rules.py
93+
src/codatcommon/models/shared/security.py
94+
src/codatcommon/models/shared/companydataconnectionstatuschangedwebhook.py
95+
src/codatcommon/models/shared/connectionstatus_enum.py
96+
src/codatcommon/models/shared/datasynccompletedwebhook.py
97+
src/codatcommon/models/shared/datasetdatachangedwebhook.py
98+
src/codatcommon/models/shared/datasetstatuschangederrorwebhook.py
99+
src/codatcommon/models/shared/newcompanysynchronizedwebhook.py
100+
src/codatcommon/models/shared/pushoperationtimedoutwebhook.py
101+
src/codatcommon/models/shared/pushoperationstatuschangedwebhook.py
102+
src/codatcommon/models/shared/__init__.py
103+
src/codatcommon/models/webhooks/company_data_connection_status_changed.py
104+
src/codatcommon/models/webhooks/data_sync_completed.py
105+
src/codatcommon/models/webhooks/dataset_data_changed.py
106+
src/codatcommon/models/webhooks/dataset_status_has_changed_to_an_error_state.py
107+
src/codatcommon/models/webhooks/new_company_synchronized.py
108+
src/codatcommon/models/webhooks/push_operation_has_timed_out.py
109+
src/codatcommon/models/webhooks/push_operation_status_has_changed.py
110+
src/codatcommon/models/webhooks/__init__.py
111111
USAGE.md

common/gen.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: e77f8c758a0bd3947e2944488e841ba8
3+
docChecksum: 44c41ab6962910690c939af759ed2b33
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.19.3
6-
generationVersion: 2.16.7
5+
speakeasyVersion: 1.20.1
6+
generationVersion: 2.18.1
77
generation:
88
telemetryEnabled: false
99
sdkClassName: CodatCommon
10-
sdkFlattening: true
1110
singleTagPerOp: false
1211
python:
13-
version: 0.6.5
12+
version: 0.8.1
1413
author: Speakeasy
1514
description: Python Client SDK Generated by Speakeasy
1615
packageName: codat-common

common/pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,6 +438,7 @@ disable=raw-checker-failed,
438438
using-constant-test,
439439
too-many-statements,
440440
cyclic-import,
441+
too-many-nested-blocks
441442

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

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

0 commit comments

Comments
 (0)