Skip to content

Commit 0a1a1da

Browse files
chore: speakeasy sdk regeneration - Generate Common SDK (#26)
* ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.7.1 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.2 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.4 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.5 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.6 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.8.7 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.9.1 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.9.2 * ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.11.0 --------- Co-authored-by: speakeasybot <[email protected]>
1 parent 4453838 commit 0a1a1da

File tree

65 files changed

+2694
-2034
lines changed

Some content is hidden

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

65 files changed

+2694
-2034
lines changed

common/README.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,17 @@ pip install codat-common
1414
import codat
1515
from codat.models import operations, shared
1616

17-
s = codat.Codat()
18-
s.config_security(
17+
s = codat.Codat(
1918
security=shared.Security(
20-
api_key="YOUR_API_KEY_HERE",
21-
)
22-
)
23-
24-
req = operations.CreateCompanyRequest(
25-
request=operations.CreateCompanyRequestBody(
26-
description="unde",
27-
name="deserunt",
19+
auth_header="YOUR_API_KEY_HERE",
2820
),
2921
)
22+
23+
24+
req = operations.CreateCompanyRequestBody(
25+
description="unde",
26+
name="deserunt",
27+
)
3028

3129
res = s.companies.create_company(req)
3230

@@ -41,20 +39,20 @@ if res.create_company_200_application_json_object is not None:
4139

4240
### companies
4341

44-
* `create_company` - Create a company
45-
* `delete_companies_company_id` - Delete a company
46-
* `get_companies_company_id` - Get company
42+
* `create_company` - Create company
43+
* `delete_company` - Delete a company
44+
* `get_company` - Get company
4745
* `list_companies` - List companies
48-
* `put_companies_company_id` - Update a company
46+
* `update_company` - Update company
4947

5048
### connections
5149

5250
* `create_data_connection` - Create a data connection
5351
* `delete_company_connection` - Delete connection
54-
* `get_companies_company_id_connections_connection_id_authorization` - Update authorization
52+
* `get_company_authorization` - Update authorization
5553
* `get_company_connection` - Get connection
5654
* `list_company_connections` - List connections
57-
* `patch_company_connection` - Unlink connection
55+
* `unlink_company_connection` - Unlink connection
5856

5957
### data_status
6058

@@ -88,9 +86,9 @@ if res.create_company_200_application_json_object is not None:
8886

8987
### webhooks
9088

89+
* `create_rule` - Create webhook
9190
* `get_webhook` - Get webhook
9291
* `list_rules` - List webhooks
93-
* `post_rules` - Create webhook
9492
<!-- End SDK Available Operations -->
9593

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

common/RELEASES.md

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,76 @@ Based on:
1414
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
1515
- Speakeasy CLI 1.7.1 https://github.com/speakeasy-api/speakeasy
1616
### Releases
17-
- [PyPI v0.1.1] https://pypi.org/project/codat-common/0.1.1 - common
17+
- [PyPI v0.1.1] https://pypi.org/project/codat-common/0.1.1 - common
18+
19+
## 2023-03-03 01:56:51
20+
### Changes
21+
Based on:
22+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
23+
- Speakeasy CLI 1.7.1 https://github.com/speakeasy-api/speakeasy
24+
### Releases
25+
- [PyPI v0.1.2] https://pypi.org/project/codat-common/0.1.2 - common
26+
27+
## 2023-03-04 00:17:05
28+
### Changes
29+
Based on:
30+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
31+
- Speakeasy CLI 1.8.2 https://github.com/speakeasy-api/speakeasy
32+
### Releases
33+
- [PyPI v0.2.0] https://pypi.org/project/codat-common/0.2.0 - common
34+
35+
## 2023-03-06 00:18:48
36+
### Changes
37+
Based on:
38+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
39+
- Speakeasy CLI 1.8.4 https://github.com/speakeasy-api/speakeasy
40+
### Releases
41+
- [PyPI v0.2.1] https://pypi.org/project/codat-common/0.2.1 - common
42+
43+
## 2023-03-07 00:19:28
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
47+
- Speakeasy CLI 1.8.5 https://github.com/speakeasy-api/speakeasy
48+
### Releases
49+
- [PyPI v0.2.2] https://pypi.org/project/codat-common/0.2.2 - common
50+
51+
## 2023-03-08 00:18:55
52+
### Changes
53+
Based on:
54+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
55+
- Speakeasy CLI 1.8.6 https://github.com/speakeasy-api/speakeasy
56+
### Releases
57+
- [PyPI v0.2.3] https://pypi.org/project/codat-common/0.2.3 - common
58+
59+
## 2023-03-09 00:18:28
60+
### Changes
61+
Based on:
62+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
63+
- Speakeasy CLI 1.8.7 https://github.com/speakeasy-api/speakeasy
64+
### Releases
65+
- [PyPI v0.2.4] https://pypi.org/project/codat-common/0.2.4 - common
66+
67+
## 2023-03-10 00:18:23
68+
### Changes
69+
Based on:
70+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
71+
- Speakeasy CLI 1.9.1 https://github.com/speakeasy-api/speakeasy
72+
### Releases
73+
- [PyPI v0.3.0] https://pypi.org/project/codat-common/0.3.0 - common
74+
75+
## 2023-03-11 00:16:06
76+
### Changes
77+
Based on:
78+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
79+
- Speakeasy CLI 1.9.2 https://github.com/speakeasy-api/speakeasy
80+
### Releases
81+
- [PyPI v0.3.1] https://pypi.org/project/codat-common/0.3.1 - common
82+
83+
## 2023-03-15 00:17:28
84+
### Changes
85+
Based on:
86+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
87+
- Speakeasy CLI 1.11.0 https://github.com/speakeasy-api/speakeasy
88+
### Releases
89+
- [PyPI v0.4.0] https://pypi.org/project/codat-common/0.4.0 - common

common/USAGE.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,17 @@
33
import codat
44
from codat.models import operations, shared
55

6-
s = codat.Codat()
7-
s.config_security(
6+
s = codat.Codat(
87
security=shared.Security(
9-
api_key="YOUR_API_KEY_HERE",
10-
)
11-
)
12-
13-
req = operations.CreateCompanyRequest(
14-
request=operations.CreateCompanyRequestBody(
15-
description="unde",
16-
name="deserunt",
8+
auth_header="YOUR_API_KEY_HERE",
179
),
1810
)
11+
12+
13+
req = operations.CreateCompanyRequestBody(
14+
description="unde",
15+
name="deserunt",
16+
)
1917

2018
res = s.companies.create_company(req)
2119

common/files.gen

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,24 @@ src/codat/refresh_data.py
77
src/codat/settings.py
88
src/codat/webhooks.py
99
src/codat/sdk.py
10+
pylintrc
1011
setup.py
1112
src/codat/__init__.py
1213
src/codat/models/__init__.py
1314
src/codat/utils/__init__.py
1415
src/codat/utils/retries.py
1516
src/codat/utils/utils.py
1617
src/codat/models/operations/create_company.py
17-
src/codat/models/operations/delete_companies_companyid.py
18-
src/codat/models/operations/get_companies_companyid.py
18+
src/codat/models/operations/delete_company.py
19+
src/codat/models/operations/get_company.py
1920
src/codat/models/operations/list_companies.py
20-
src/codat/models/operations/put_companies_companyid.py
21+
src/codat/models/operations/update_company.py
2122
src/codat/models/operations/create_data_connection.py
2223
src/codat/models/operations/delete_company_connection.py
23-
src/codat/models/operations/get_companies_companyid_connections_connectionid_authorization.py
24+
src/codat/models/operations/get_company_authorization.py
2425
src/codat/models/operations/get_company_connection.py
2526
src/codat/models/operations/list_company_connections.py
26-
src/codat/models/operations/patch_company_connection.py
27+
src/codat/models/operations/unlink_company_connection.py
2728
src/codat/models/operations/get_companies_companyid_datastatus.py
2829
src/codat/models/operations/get_company_data_history.py
2930
src/codat/models/operations/get_pull_operation.py
@@ -39,9 +40,9 @@ src/codat/models/operations/get_profile_syncsettings.py
3940
src/codat/models/operations/get_settings_profile.py
4041
src/codat/models/operations/post_profile_syncsettings.py
4142
src/codat/models/operations/put_profile.py
43+
src/codat/models/operations/create_rule.py
4244
src/codat/models/operations/get_webhook.py
4345
src/codat/models/operations/list_rules.py
44-
src/codat/models/operations/post_rules.py
4546
src/codat/models/operations/__init__.py
4647
src/codat/models/shared/security.py
4748
src/codat/models/shared/__init__.py

common/gen.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: 348d07051fb0294d6887f4c766560fc5
3+
docChecksum: c45d111816d2a80343cf68432dd3b89b
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.7.1
5+
speakeasyVersion: 1.11.0
66
generation:
77
telemetryEnabled: false
88
sdkClassName: codat
99
sdkFlattening: true
1010
python:
11-
version: 0.1.1
11+
version: 0.4.0
1212
author: Speakeasy
1313
description: Python Client SDK Generated by Speakeasy
1414
packageName: codat-common

0 commit comments

Comments
 (0)