Skip to content

Commit abbc3f1

Browse files
authored
Merge pull request #71 from codatio/speakeasy-sdk-regen-1679703380
chore: speakeasy sdk regeneration - Generate Common SDK
2 parents 7791431 + cef5b4e commit abbc3f1

File tree

126 files changed

+2682
-3055
lines changed

Some content is hidden

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

126 files changed

+2682
-3055
lines changed

common/README.md

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

2323

24-
req = operations.CreateCompanyRequestBody(
25-
description="unde",
26-
name="deserunt",
24+
req = shared.CompanyRequestBody(
25+
description="corrupti",
26+
name="provident",
2727
)
2828

2929
res = s.companies.create_company(req)
3030

31-
if res.create_company_200_application_json_object is not None:
31+
if res.company is not None:
3232
# handle response
3333
```
3434
<!-- End SDK Example Usage -->
3535

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

3939

4040
### companies
@@ -49,40 +49,40 @@ if res.create_company_200_application_json_object is not None:
4949

5050
* `create_data_connection` - Create a data connection
5151
* `delete_company_connection` - Delete connection
52-
* `get_company_authorization` - Update authorization
5352
* `get_company_connection` - Get connection
5453
* `list_company_connections` - List connections
5554
* `unlink_company_connection` - Unlink connection
55+
* `update_connection_authorization` - Update authorization
5656

5757
### data_status
5858

59-
* `get_companies_company_id_data_status` - Get data status
6059
* `get_company_data_history` - Get pull operations
60+
* `get_company_data_status` - Get data status
6161
* `get_pull_operation` - Get pull operation
6262

6363
### integrations
6464

65-
* `get_integrations_platform_key` - Get integration
66-
* `get_integrations_platform_key_branding` - Get branding
65+
* `get_integration` - Get integration
66+
* `get_integrations_branding` - Get branding
6767
* `list_integrations` - List integrations
6868

6969
### push_data
7070

71-
* `get_companies_company_id_connections_connection_id_push` - List push options
72-
* `get_companies_company_id_push` - List push operations
73-
* `get_companies_company_id_push_push_operation_key` - Get push operation
71+
* `get_company_push_history` - List push operations
72+
* `get_create_update_model_options_by_data_type` - List push options
73+
* `get_push_operation` - Get push operation
7474

7575
### refresh_data
7676

77-
* `create_many_pull_operations` - Queue pull operations
7877
* `create_pull_operation` - Queue pull operation
78+
* `refresh_company_data` - Queue pull operations
7979

8080
### settings
8181

82+
* `get_profile` - Get profile
8283
* `get_profile_sync_settings` - Get sync settings
83-
* `get_settings_profile` - Get profile
84-
* `post_profile_sync_settings` - Update all sync settings
85-
* `put_profile` - Update profile
84+
* `update_profile` - Update profile
85+
* `update_sync_settings` - Update all sync settings
8686

8787
### webhooks
8888

common/RELEASES.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,4 +102,52 @@ Based on:
102102
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
103103
- Speakeasy CLI 1.12.1 https://github.com/speakeasy-api/speakeasy
104104
### Releases
105-
- [PyPI v0.5.1] https://pypi.org/project/codat-common/0.5.1 - common
105+
- [PyPI v0.5.1] https://pypi.org/project/codat-common/0.5.1 - common
106+
107+
## 2023-03-25 00:16:18
108+
### Changes
109+
Based on:
110+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
111+
- Speakeasy CLI 1.18.7 (2.16.1) https://github.com/speakeasy-api/speakeasy
112+
### Releases
113+
- [PyPI v0.6.0] https://pypi.org/project/codat-common/0.6.0 - common
114+
115+
## 2023-03-28 00:17:39
116+
### Changes
117+
Based on:
118+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
119+
- Speakeasy CLI 1.18.9 (2.16.4) https://github.com/speakeasy-api/speakeasy
120+
### Releases
121+
- [PyPI v0.6.1] https://pypi.org/project/codat-common/0.6.1 - common
122+
123+
## 2023-03-29 00:19:42
124+
### Changes
125+
Based on:
126+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
127+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
128+
### Releases
129+
- [PyPI v0.6.2] https://pypi.org/project/codat-common/0.6.2 - common
130+
131+
## 2023-03-30 00:17:27
132+
### Changes
133+
Based on:
134+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
135+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
136+
### Releases
137+
- [PyPI v0.6.3] https://pypi.org/project/codat-common/0.6.3 - common
138+
139+
## 2023-03-31 00:17:39
140+
### Changes
141+
Based on:
142+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
143+
- Speakeasy CLI 1.19.2 (2.16.5) https://github.com/speakeasy-api/speakeasy
144+
### Releases
145+
- [PyPI v0.6.4] https://pypi.org/project/codat-common/0.6.4 - common
146+
147+
## 2023-04-01 00:17:27
148+
### Changes
149+
Based on:
150+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
151+
- Speakeasy CLI 1.19.3 (2.16.7) https://github.com/speakeasy-api/speakeasy
152+
### Releases
153+
- [PyPI v0.6.5] https://pypi.org/project/codat-common/0.6.5 - common

common/USAGE.md

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

1212

13-
req = operations.CreateCompanyRequestBody(
14-
description="unde",
15-
name="deserunt",
13+
req = shared.CompanyRequestBody(
14+
description="corrupti",
15+
name="provident",
1616
)
1717

1818
res = s.companies.create_company(req)
1919

20-
if res.create_company_200_application_json_object is not None:
20+
if res.company is not None:
2121
# handle response
2222
```
2323
<!-- End SDK Example Usage -->

common/files.gen

Lines changed: 65 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,84 @@ src/codat/models/operations/list_companies.py
2121
src/codat/models/operations/update_company.py
2222
src/codat/models/operations/create_data_connection.py
2323
src/codat/models/operations/delete_company_connection.py
24-
src/codat/models/operations/get_company_authorization.py
2524
src/codat/models/operations/get_company_connection.py
2625
src/codat/models/operations/list_company_connections.py
2726
src/codat/models/operations/unlink_company_connection.py
28-
src/codat/models/operations/get_companies_companyid_datastatus.py
27+
src/codat/models/operations/update_connection_authorization.py
2928
src/codat/models/operations/get_company_data_history.py
29+
src/codat/models/operations/get_company_data_status.py
3030
src/codat/models/operations/get_pull_operation.py
31-
src/codat/models/operations/get_integrations_platformkey.py
32-
src/codat/models/operations/get_integrations_platformkey_branding.py
31+
src/codat/models/operations/get_integration.py
32+
src/codat/models/operations/get_integrations_branding.py
3333
src/codat/models/operations/list_integrations.py
34-
src/codat/models/operations/get_companies_companyid_connections_connectionid_push.py
35-
src/codat/models/operations/get_companies_companyid_push.py
36-
src/codat/models/operations/get_companies_companyid_push_pushoperationkey.py
37-
src/codat/models/operations/create_many_pull_operations.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
3837
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
3940
src/codat/models/operations/get_profile_syncsettings.py
40-
src/codat/models/operations/get_settings_profile.py
41-
src/codat/models/operations/post_profile_syncsettings.py
42-
src/codat/models/operations/put_profile.py
41+
src/codat/models/operations/update_profile.py
42+
src/codat/models/operations/update_sync_settings.py
4343
src/codat/models/operations/create_rule.py
4444
src/codat/models/operations/get_webhook.py
4545
src/codat/models/operations/list_rules.py
4646
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
4793
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
48102
src/codat/models/shared/__init__.py
49103
src/codat/models/webhooks/company_data_connection_status_changed.py
50104
src/codat/models/webhooks/data_sync_completed.py

common/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: cd8f359344976b5594f7b15381a281b7
3+
docChecksum: e77f8c758a0bd3947e2944488e841ba8
44
docVersion: 2.1.0
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.6.5
1214
author: Speakeasy
1315
description: Python Client SDK Generated by Speakeasy
1416
packageName: codat-common

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

common/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-common",
11-
version="0.5.1",
13+
version="0.6.5",
1214
author="Speakeasy",
1315
description="Python Client SDK Generated by Speakeasy",
1416
long_description=long_description,

common/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)