Skip to content

Commit 2eabd84

Browse files
authored
Merge pull request #125 from codatio/speakeasy-sdk-regen-1682644450
chore: speakeasy sdk regeneration - Generate Common SDK
2 parents c34a6a1 + faba1b7 commit 2eabd84

File tree

103 files changed

+251
-602
lines changed

Some content is hidden

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

103 files changed

+251
-602
lines changed

common/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ s = codatcommon.CodatCommon(
2020
),
2121
)
2222

23-
2423
req = shared.CompanyRequestBody(
25-
description="corrupti",
26-
name="Kelvin Sporer",
24+
description='Requested early access to the new financing scheme.',
25+
name='Bank of Dave',
2726
)
2827

2928
res = s.companies.create(req)
@@ -79,7 +78,7 @@ if res.company is not None:
7978

8079
### [settings](docs/settings/README.md)
8180

82-
* [get_profile](docs/settings/README.md#get_profile) - Get profile
81+
* [~~get_profile~~](docs/settings/README.md#get_profile) - Get profile :warning: **Deprecated**
8382
* [get_sync_settings](docs/settings/README.md#get_sync_settings) - Update all sync settings
8483
* [update_profile](docs/settings/README.md#update_profile) - Update profile
8584

common/RELEASES.md

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,76 @@ Based on:
222222
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
223223
- Speakeasy CLI 1.26.1 (2.23.1) https://github.com/speakeasy-api/speakeasy
224224
### Releases
225-
- [PyPI v0.11.1] https://pypi.org/project/codat-common/0.11.1 - common
225+
- [PyPI v0.11.1] https://pypi.org/project/codat-common/0.11.1 - common
226+
227+
## 2023-04-28 01:14:08
228+
### Changes
229+
Based on:
230+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
231+
- Speakeasy CLI 1.26.2 (2.23.2) https://github.com/speakeasy-api/speakeasy
232+
### Releases
233+
- [PyPI v0.11.2] https://pypi.org/project/codat-common/0.11.2 - common
234+
235+
## 2023-04-29 00:16:46
236+
### Changes
237+
Based on:
238+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
239+
- Speakeasy CLI 1.26.3 (2.23.3) https://github.com/speakeasy-api/speakeasy
240+
### Releases
241+
- [PyPI v0.11.3] https://pypi.org/project/codat-common/0.11.3 - common
242+
243+
## 2023-04-30 00:18:22
244+
### Changes
245+
Based on:
246+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
247+
- Speakeasy CLI 1.26.4 (2.23.4) https://github.com/speakeasy-api/speakeasy
248+
### Releases
249+
- [PyPI v0.11.4] https://pypi.org/project/codat-common/0.11.4 - common
250+
251+
## 2023-05-02 00:16:49
252+
### Changes
253+
Based on:
254+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
255+
- Speakeasy CLI 1.26.5 (2.23.6) https://github.com/speakeasy-api/speakeasy
256+
### Releases
257+
- [PyPI v0.11.5] https://pypi.org/project/codat-common/0.11.5 - common
258+
259+
## 2023-05-03 00:16:23
260+
### Changes
261+
Based on:
262+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
263+
- Speakeasy CLI 1.27.0 (2.24.0) https://github.com/speakeasy-api/speakeasy
264+
### Releases
265+
- [PyPI v0.12.0] https://pypi.org/project/codat-common/0.12.0 - common
266+
267+
## 2023-05-05 00:15:50
268+
### Changes
269+
Based on:
270+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
271+
- Speakeasy CLI 1.29.0 (2.26.0) https://github.com/speakeasy-api/speakeasy
272+
### Releases
273+
- [PyPI v0.13.0] https://pypi.org/project/codat-common/0.13.0 - common
274+
275+
## 2023-05-06 00:15:36
276+
### Changes
277+
Based on:
278+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
279+
- Speakeasy CLI 1.29.1 (2.26.1) https://github.com/speakeasy-api/speakeasy
280+
### Releases
281+
- [PyPI v0.13.1] https://pypi.org/project/codat-common/0.13.1 - common
282+
283+
## 2023-05-10 00:16:07
284+
### Changes
285+
Based on:
286+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
287+
- Speakeasy CLI 1.29.2 (2.26.2) https://github.com/speakeasy-api/speakeasy
288+
### Releases
289+
- [PyPI v0.13.2] https://pypi.org/project/codat-common/0.13.2 - common
290+
291+
## 2023-05-11 00:16:08
292+
### Changes
293+
Based on:
294+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Common.yaml
295+
- Speakeasy CLI 1.30.0 (2.26.3) https://github.com/speakeasy-api/speakeasy
296+
### Releases
297+
- [PyPI v0.13.3] https://pypi.org/project/codat-common/0.13.3 - common

common/USAGE.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@ s = codatcommon.CodatCommon(
99
),
1010
)
1111

12-
1312
req = shared.CompanyRequestBody(
14-
description="corrupti",
15-
name="Kelvin Sporer",
13+
description='Requested early access to the new financing scheme.',
14+
name='Bank of Dave',
1615
)
1716

1817
res = s.companies.create(req)

common/docs/companies/README.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,9 @@ s = codatcommon.CodatCommon(
2828
),
2929
)
3030

31-
3231
req = shared.CompanyRequestBody(
33-
description="corrupti",
34-
name="Ben Mueller",
32+
description='Requested early access to the new financing scheme.',
33+
name='Bank of Dave',
3534
)
3635

3736
res = s.companies.create(req)
@@ -57,9 +56,8 @@ s = codatcommon.CodatCommon(
5756
),
5857
)
5958

60-
6159
req = operations.DeleteCompanyRequest(
62-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
60+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
6361
)
6462

6563
res = s.companies.delete(req)
@@ -84,9 +82,8 @@ s = codatcommon.CodatCommon(
8482
),
8583
)
8684

87-
8885
req = operations.GetCompanyRequest(
89-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
86+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
9087
)
9188

9289
res = s.companies.get(req)
@@ -111,12 +108,11 @@ s = codatcommon.CodatCommon(
111108
),
112109
)
113110

114-
115111
req = operations.ListCompaniesRequest(
116-
order_by="-modifiedDate",
112+
order_by='-modifiedDate',
117113
page=1,
118114
page_size=100,
119-
query="iure",
115+
query='corrupti',
120116
)
121117

122118
res = s.companies.list(req)
@@ -141,13 +137,12 @@ s = codatcommon.CodatCommon(
141137
),
142138
)
143139

144-
145140
req = operations.UpdateCompanyRequest(
146141
company_request_body=shared.CompanyRequestBody(
147-
description="magnam",
148-
name="Larry Windler",
142+
description='Requested early access to the new financing scheme.',
143+
name='Bank of Dave',
149144
),
150-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
145+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
151146
)
152147

153148
res = s.companies.update(req)

common/docs/connections/README.md

Lines changed: 17 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,11 @@ s = codatcommon.CodatCommon(
2929
),
3030
)
3131

32-
3332
req = operations.CreateDataConnectionRequest(
3433
request_body=operations.CreateDataConnectionRequestBody(
35-
platform_key="molestiae",
34+
platform_key='provident',
3635
),
37-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
36+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
3837
)
3938

4039
res = s.connections.create(req)
@@ -60,10 +59,9 @@ s = codatcommon.CodatCommon(
6059
),
6160
)
6261

63-
6462
req = operations.DeleteCompanyConnectionRequest(
65-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
66-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
63+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
64+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
6765
)
6866

6967
res = s.connections.delete(req)
@@ -88,10 +86,9 @@ s = codatcommon.CodatCommon(
8886
),
8987
)
9088

91-
9289
req = operations.GetCompanyConnectionRequest(
93-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
94-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
90+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
91+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
9592
)
9693

9794
res = s.connections.get(req)
@@ -116,13 +113,12 @@ s = codatcommon.CodatCommon(
116113
),
117114
)
118115

119-
120116
req = operations.ListCompanyConnectionsRequest(
121-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
122-
order_by="-modifiedDate",
117+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
118+
order_by='-modifiedDate',
123119
page=1,
124120
page_size=100,
125-
query="minus",
121+
query='distinctio',
126122
)
127123

128124
res = s.connections.list(req)
@@ -147,13 +143,12 @@ s = codatcommon.CodatCommon(
147143
),
148144
)
149145

150-
151146
req = operations.UnlinkConnectionRequest(
152147
request_body=operations.UnlinkConnectionRequestBody(
153-
status="placeat",
148+
status='quibusdam',
154149
),
155-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
156-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
150+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
151+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
157152
)
158153

159154
res = s.connections.unlink_connection(req)
@@ -178,15 +173,14 @@ s = codatcommon.CodatCommon(
178173
),
179174
)
180175

181-
182176
req = operations.UpdateConnectionAuthorizationRequest(
183177
request_body={
184-
"iusto": "excepturi",
185-
"nisi": "recusandae",
186-
"temporibus": "ab",
178+
"nulla": 'corrupti',
179+
"illum": 'vel',
180+
"error": 'deserunt',
187181
},
188-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
189-
connection_id="2e9d2c44-f675-40ba-8049-353bfcb5e171",
182+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
183+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
190184
)
191185

192186
res = s.connections.update_authorization(req)

common/docs/datastatus/README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ s = codatcommon.CodatCommon(
2626
),
2727
)
2828

29-
3029
req = operations.GetCompanyDataStatusRequest(
31-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
30+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
3231
)
3332

3433
res = s.data_status.get(req)
@@ -53,10 +52,9 @@ s = codatcommon.CodatCommon(
5352
),
5453
)
5554

56-
5755
req = operations.GetPullOperationRequest(
58-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
59-
dataset_id="eaed9f0f-e77b-4bc9-a58f-ab8b4b99ab18",
56+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
57+
dataset_id='eaed9f0f-e77b-4bc9-a58f-ab8b4b99ab18',
6058
)
6159

6260
res = s.data_status.get_pull_operation(req)
@@ -81,13 +79,12 @@ s = codatcommon.CodatCommon(
8179
),
8280
)
8381

84-
8582
req = operations.ListPullOperationsRequest(
86-
company_id="8a210b68-6988-11ed-a1eb-0242ac120002",
87-
order_by="-modifiedDate",
83+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
84+
order_by='-modifiedDate',
8885
page=1,
8986
page_size=100,
90-
query="quis",
87+
query='suscipit',
9188
)
9289

9390
res = s.data_status.list_pull_operations(req)

common/docs/integrations/README.md

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@ s = codatcommon.CodatCommon(
2626
),
2727
)
2828

29-
3029
req = operations.GetIntegrationRequest(
31-
platform_key="gbol",
30+
platform_key='gbol',
3231
)
3332

3433
res = s.integrations.get(req)
@@ -53,9 +52,8 @@ s = codatcommon.CodatCommon(
5352
),
5453
)
5554

56-
5755
req = operations.GetIntegrationsBrandingRequest(
58-
platform_key="gbol",
56+
platform_key='gbol',
5957
)
6058

6159
res = s.integrations.get_branding(req)
@@ -80,12 +78,11 @@ s = codatcommon.CodatCommon(
8078
),
8179
)
8280

83-
8481
req = operations.ListIntegrationsRequest(
85-
order_by="-modifiedDate",
82+
order_by='-modifiedDate',
8683
page=1,
8784
page_size=100,
88-
query="veritatis",
85+
query='iure',
8986
)
9087

9188
res = s.integrations.list(req)

0 commit comments

Comments
 (0)