Skip to content

Commit 0881698

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.25.1
1 parent f4f4a99 commit 0881698

30 files changed

Lines changed: 341 additions & 461 deletions

common/README.md

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ req = shared.CompanyRequestBody(
2626
name="Kelvin Sporer",
2727
)
2828

29-
res = s.companies.create_company(req)
29+
res = s.companies.create(req)
3030

3131
if res.company is not None:
3232
# handle response
@@ -39,56 +39,55 @@ if res.company is not None:
3939

4040
### [companies](docs/companies/README.md)
4141

42-
* [create_company](docs/companies/README.md#create_company) - Create company
43-
* [delete_company](docs/companies/README.md#delete_company) - Delete a company
44-
* [get_company](docs/companies/README.md#get_company) - Get company
45-
* [list_companies](docs/companies/README.md#list_companies) - List companies
46-
* [update_company](docs/companies/README.md#update_company) - Update company
42+
* [create](docs/companies/README.md#create) - Create company
43+
* [delete](docs/companies/README.md#delete) - Delete a company
44+
* [get](docs/companies/README.md#get) - Get company
45+
* [list](docs/companies/README.md#list) - List companies
46+
* [update](docs/companies/README.md#update) - Update company
4747

4848
### [connections](docs/connections/README.md)
4949

50-
* [create_data_connection](docs/connections/README.md#create_data_connection) - Create connection
51-
* [delete_company_connection](docs/connections/README.md#delete_company_connection) - Delete connection
52-
* [get_company_connection](docs/connections/README.md#get_company_connection) - Get connection
53-
* [list_company_connections](docs/connections/README.md#list_company_connections) - List connections
54-
* [unlink_company_connection](docs/connections/README.md#unlink_company_connection) - Unlink connection
55-
* [update_connection_authorization](docs/connections/README.md#update_connection_authorization) - Update authorization
50+
* [create](docs/connections/README.md#create) - Create connection
51+
* [delete](docs/connections/README.md#delete) - Delete connection
52+
* [get](docs/connections/README.md#get) - Get connection
53+
* [list](docs/connections/README.md#list) - List connections
54+
* [unlink_connection](docs/connections/README.md#unlink_connection) - Unlink connection
55+
* [update_authorization](docs/connections/README.md#update_authorization) - Update authorization
5656

5757
### [data_status](docs/datastatus/README.md)
5858

59-
* [get_company_data_history](docs/datastatus/README.md#get_company_data_history) - Get pull operations
60-
* [get_company_data_status](docs/datastatus/README.md#get_company_data_status) - Get data status
59+
* [get](docs/datastatus/README.md#get) - Get data status
6160
* [get_pull_operation](docs/datastatus/README.md#get_pull_operation) - Get pull operation
61+
* [list_pull_operations](docs/datastatus/README.md#list_pull_operations) - Get pull operations
6262

6363
### [integrations](docs/integrations/README.md)
6464

65-
* [get_integration](docs/integrations/README.md#get_integration) - Get integration
66-
* [get_integrations_branding](docs/integrations/README.md#get_integrations_branding) - Get branding
67-
* [list_integrations](docs/integrations/README.md#list_integrations) - List integrations
65+
* [get](docs/integrations/README.md#get) - Get integration
66+
* [get_branding](docs/integrations/README.md#get_branding) - Get branding
67+
* [list](docs/integrations/README.md#list) - List integrations
6868

6969
### [push_data](docs/pushdata/README.md)
7070

71-
* [get_company_push_history](docs/pushdata/README.md#get_company_push_history) - List push operations
72-
* [get_create_update_model_options_by_data_type](docs/pushdata/README.md#get_create_update_model_options_by_data_type) - List push options
73-
* [get_push_operation](docs/pushdata/README.md#get_push_operation) - Get push operation
71+
* [get_model_options](docs/pushdata/README.md#get_model_options) - Get push options
72+
* [get_operation](docs/pushdata/README.md#get_operation) - Get push operation
73+
* [list_operations](docs/pushdata/README.md#list_operations) - List push operations
7474

7575
### [refresh_data](docs/refreshdata/README.md)
7676

77-
* [create_pull_operation](docs/refreshdata/README.md#create_pull_operation) - Queue pull operation
78-
* [refresh_company_data](docs/refreshdata/README.md#refresh_company_data) - Queue pull operations
77+
* [all](docs/refreshdata/README.md#all) - Queue pull operations
78+
* [by_data_type](docs/refreshdata/README.md#by_data_type) - Queue pull operation
7979

8080
### [settings](docs/settings/README.md)
8181

8282
* [get_profile](docs/settings/README.md#get_profile) - Get profile
83-
* [get_profile_sync_settings](docs/settings/README.md#get_profile_sync_settings) - Get sync settings
83+
* [get_sync_settings](docs/settings/README.md#get_sync_settings) - Update all sync settings
8484
* [update_profile](docs/settings/README.md#update_profile) - Update profile
85-
* [update_sync_settings](docs/settings/README.md#update_sync_settings) - Update all sync settings
8685

8786
### [webhooks](docs/webhooks/README.md)
8887

89-
* [create_rule](docs/webhooks/README.md#create_rule) - Create webhook
90-
* [get_webhook](docs/webhooks/README.md#get_webhook) - Get webhook
91-
* [list_rules](docs/webhooks/README.md#list_rules) - List webhooks
88+
* [create](docs/webhooks/README.md#create) - Create webhook
89+
* [get](docs/webhooks/README.md#get) - Get webhook
90+
* [list](docs/webhooks/README.md#list) - List webhooks
9291
<!-- End SDK Available Operations -->
9392

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

common/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,4 +198,12 @@ Based on:
198198
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
199199
- Speakeasy CLI 1.23.1 (2.21.1) https://github.com/speakeasy-api/speakeasy
200200
### Releases
201-
- [PyPI v0.9.1] https://pypi.org/project/codat-common/0.9.1 - common
201+
- [PyPI v0.9.1] https://pypi.org/project/codat-common/0.9.1 - common
202+
203+
## 2023-04-26 14:59:32
204+
### Changes
205+
Based on:
206+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
207+
- Speakeasy CLI 1.25.1 (2.22.0) https://github.com/speakeasy-api/speakeasy
208+
### Releases
209+
- [PyPI v0.10.0] https://pypi.org/project/codat-common/0.10.0 - common

common/USAGE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ req = shared.CompanyRequestBody(
1515
name="Kelvin Sporer",
1616
)
1717

18-
res = s.companies.create_company(req)
18+
res = s.companies.create(req)
1919

2020
if res.company is not None:
2121
# handle response

common/docs/companies/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ Create and manage your Codat companies.
66

77
### Available Operations
88

9-
* [create_company](#create_company) - Create company
10-
* [delete_company](#delete_company) - Delete a company
11-
* [get_company](#get_company) - Get company
12-
* [list_companies](#list_companies) - List companies
13-
* [update_company](#update_company) - Update company
9+
* [create](#create) - Create company
10+
* [delete](#delete) - Delete a company
11+
* [get](#get) - Get company
12+
* [list](#list) - List companies
13+
* [update](#update) - Update company
1414

15-
## create_company
15+
## create
1616

1717
Create a new company
1818

@@ -34,13 +34,13 @@ req = shared.CompanyRequestBody(
3434
name="Ben Mueller",
3535
)
3636

37-
res = s.companies.create_company(req)
37+
res = s.companies.create(req)
3838

3939
if res.company is not None:
4040
# handle response
4141
```
4242

43-
## delete_company
43+
## delete
4444

4545
Delete the given company from Codat.
4646
This operation is not reversible.
@@ -62,13 +62,13 @@ req = operations.DeleteCompanyRequest(
6262
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
6363
)
6464

65-
res = s.companies.delete_company(req)
65+
res = s.companies.delete(req)
6666

6767
if res.status_code == 200:
6868
# handle response
6969
```
7070

71-
## get_company
71+
## get
7272

7373
Get metadata for a single company
7474

@@ -89,13 +89,13 @@ req = operations.GetCompanyRequest(
8989
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
9090
)
9191

92-
res = s.companies.get_company(req)
92+
res = s.companies.get(req)
9393

9494
if res.company is not None:
9595
# handle response
9696
```
9797

98-
## list_companies
98+
## list
9999

100100
List all companies that you have created in Codat.
101101

@@ -119,13 +119,13 @@ req = operations.ListCompaniesRequest(
119119
query="iure",
120120
)
121121

122-
res = s.companies.list_companies(req)
122+
res = s.companies.list(req)
123123

124124
if res.companies is not None:
125125
# handle response
126126
```
127127

128-
## update_company
128+
## update
129129

130130
Updates the given company with a new name and description
131131

@@ -150,7 +150,7 @@ req = operations.UpdateCompanyRequest(
150150
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
151151
)
152152

153-
res = s.companies.update_company(req)
153+
res = s.companies.update(req)
154154

155155
if res.company is not None:
156156
# handle response

common/docs/connections/README.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ Manage your companies' data connections.
66

77
### Available Operations
88

9-
* [create_data_connection](#create_data_connection) - Create connection
10-
* [delete_company_connection](#delete_company_connection) - Delete connection
11-
* [get_company_connection](#get_company_connection) - Get connection
12-
* [list_company_connections](#list_company_connections) - List connections
13-
* [unlink_company_connection](#unlink_company_connection) - Unlink connection
14-
* [update_connection_authorization](#update_connection_authorization) - Update authorization
9+
* [create](#create) - Create connection
10+
* [delete](#delete) - Delete connection
11+
* [get](#get) - Get connection
12+
* [list](#list) - List connections
13+
* [unlink_connection](#unlink_connection) - Unlink connection
14+
* [update_authorization](#update_authorization) - Update authorization
1515

16-
## create_data_connection
16+
## create
1717

1818
Create a data connection for a company
1919

@@ -37,13 +37,13 @@ req = operations.CreateDataConnectionRequest(
3737
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
3838
)
3939

40-
res = s.connections.create_data_connection(req)
40+
res = s.connections.create(req)
4141

4242
if res.connection is not None:
4343
# handle response
4444
```
4545

46-
## delete_company_connection
46+
## delete
4747

4848
Revoke and remove a connection from a company.
4949
This operation is not reversible - the end user would need to reauthorize a new data connection if you wish to view new data for this company.
@@ -66,13 +66,13 @@ req = operations.DeleteCompanyConnectionRequest(
6666
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
6767
)
6868

69-
res = s.connections.delete_company_connection(req)
69+
res = s.connections.delete(req)
7070

7171
if res.status_code == 200:
7272
# handle response
7373
```
7474

75-
## get_company_connection
75+
## get
7676

7777
Get a single connection for a company
7878

@@ -94,13 +94,13 @@ req = operations.GetCompanyConnectionRequest(
9494
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
9595
)
9696

97-
res = s.connections.get_company_connection(req)
97+
res = s.connections.get(req)
9898

9999
if res.connection is not None:
100100
# handle response
101101
```
102102

103-
## list_company_connections
103+
## list
104104

105105
List the connections for a company
106106

@@ -125,13 +125,13 @@ req = operations.ListCompanyConnectionsRequest(
125125
query="minus",
126126
)
127127

128-
res = s.connections.list_company_connections(req)
128+
res = s.connections.list(req)
129129

130130
if res.connections is not None:
131131
# handle response
132132
```
133133

134-
## unlink_company_connection
134+
## unlink_connection
135135

136136
This allows you to deauthorize a connection, without deleting it from Codat. This means you can still view any data that has previously been pulled into Codat, and also lets you re-authorize in future if your customer wishes to resume sharing their data.
137137

@@ -148,21 +148,21 @@ s = codatcommon.CodatCommon(
148148
)
149149

150150

151-
req = operations.UnlinkCompanyConnectionRequest(
152-
request_body=operations.UnlinkCompanyConnectionRequestBody(
151+
req = operations.UnlinkConnectionRequest(
152+
request_body=operations.UnlinkConnectionRequestBody(
153153
status="placeat",
154154
),
155155
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
156156
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
157157
)
158158

159-
res = s.connections.unlink_company_connection(req)
159+
res = s.connections.unlink_connection(req)
160160

161161
if res.connection is not None:
162162
# handle response
163163
```
164164

165-
## update_connection_authorization
165+
## update_authorization
166166

167167
Update data connection's authorization.
168168

@@ -189,7 +189,7 @@ req = operations.UpdateConnectionAuthorizationRequest(
189189
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
190190
)
191191

192-
res = s.connections.update_connection_authorization(req)
192+
res = s.connections.update_authorization(req)
193193

194194
if res.connection is not None:
195195
# handle response

0 commit comments

Comments
 (0)