Skip to content

Commit 7734f53

Browse files
ci: regenerated with OpenAPI Doc prealpha, Speakeasy CLI 1.179.0 (#571)
Co-authored-by: speakeasybot <[email protected]>
1 parent de71291 commit 7734f53

File tree

183 files changed

+797
-875
lines changed

Some content is hidden

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

183 files changed

+797
-875
lines changed

sync-for-expenses/.speakeasy/gen.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
lockVersion: 2.0.0
22
id: a2c830ee-4f93-4e8e-8f01-48d0991317f5
33
management:
4-
docChecksum: fdc7285c8f3a9d1b51e0ac7f1c98ee14
4+
docChecksum: cd6fa6671764b38bed9a8592c0f117ad
55
docVersion: prealpha
66
speakeasyVersion: internal
7-
generationVersion: 2.248.6
8-
releaseVersion: 6.0.0
9-
configChecksum: 5656ea4200600af8771233f63ca99e99
7+
generationVersion: 2.257.2
8+
releaseVersion: 6.0.1
9+
configChecksum: 8408f3e353fbd3cd90617a531d65c958
1010
repoURL: https://github.com/codatio/client-sdk-python.git
1111
repoSubDirectory: sync-for-expenses
1212
installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=sync-for-expenses
1313
published: true
1414
features:
1515
python:
1616
constsAndDefaults: 0.1.2
17-
core: 4.4.4
17+
core: 4.4.6
1818
deprecations: 2.81.1
1919
examples: 2.81.3
2020
globalSecurity: 2.83.2
2121
globalServerURLs: 2.82.1
22-
inputOutputModels: 2.83.0
22+
inputOutputModels: 2.83.1
2323
nameOverrides: 2.81.1
2424
retries: 2.82.1
2525
generatedFiles:
@@ -89,6 +89,8 @@ generatedFiles:
8989
- src/codatsyncexpenses/models/shared/connection.py
9090
- src/codatsyncexpenses/models/shared/dataconnectionstatus.py
9191
- src/codatsyncexpenses/models/shared/dataconnectionerror.py
92+
- src/codatsyncexpenses/models/shared/errorvalidation.py
93+
- src/codatsyncexpenses/models/shared/errorvalidationitem.py
9294
- src/codatsyncexpenses/models/shared/companyrequestbody.py
9395
- src/codatsyncexpenses/models/shared/group_items.py
9496
- src/codatsyncexpenses/models/shared/companies.py
@@ -272,6 +274,8 @@ generatedFiles:
272274
- docs/models/shared/connection.md
273275
- docs/models/shared/dataconnectionstatus.md
274276
- docs/models/shared/dataconnectionerror.md
277+
- docs/models/shared/errorvalidation.md
278+
- docs/models/shared/errorvalidationitem.md
275279
- docs/models/shared/companyrequestbody.md
276280
- docs/models/shared/groupitems.md
277281
- docs/models/shared/companies.md

sync-for-expenses/README.md

Lines changed: 10 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,8 @@ s = codatsyncexpenses.CodatSyncExpenses(
2929
)
3030

3131
req = shared.CompanyRequestBody(
32-
description='Requested early access to the new financing scheme.',
33-
groups=[
34-
shared.GroupItems(
35-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
36-
),
37-
],
3832
name='Bank of Dave',
33+
description='Requested early access to the new financing scheme.',
3934
)
4035

4136
res = s.companies.create(req)
@@ -144,13 +139,8 @@ s = codatsyncexpenses.CodatSyncExpenses(
144139
)
145140

146141
req = shared.CompanyRequestBody(
147-
description='Requested early access to the new financing scheme.',
148-
groups=[
149-
shared.GroupItems(
150-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
151-
),
152-
],
153142
name='Bank of Dave',
143+
description='Requested early access to the new financing scheme.',
154144
)
155145

156146
res = s.companies.create(req,
@@ -175,13 +165,8 @@ s = codatsyncexpenses.CodatSyncExpenses(
175165
)
176166

177167
req = shared.CompanyRequestBody(
178-
description='Requested early access to the new financing scheme.',
179-
groups=[
180-
shared.GroupItems(
181-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
182-
),
183-
],
184168
name='Bank of Dave',
169+
description='Requested early access to the new financing scheme.',
185170
)
186171

187172
res = s.companies.create(req)
@@ -206,7 +191,7 @@ Handling errors in this SDK should largely match your expectations. All operati
206191

207192
```python
208193
import codatsyncexpenses
209-
from codatsyncexpenses.models import shared
194+
from codatsyncexpenses.models import errors, shared
210195

211196
s = codatsyncexpenses.CodatSyncExpenses(
212197
security=shared.Security(
@@ -215,23 +200,18 @@ s = codatsyncexpenses.CodatSyncExpenses(
215200
)
216201

217202
req = shared.CompanyRequestBody(
218-
description='Requested early access to the new financing scheme.',
219-
groups=[
220-
shared.GroupItems(
221-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
222-
),
223-
],
224203
name='Bank of Dave',
204+
description='Requested early access to the new financing scheme.',
225205
)
226206

227207
res = None
228208
try:
229209
res = s.companies.create(req)
230210
except errors.ErrorMessage as e:
231-
print(e) # handle exception
211+
# handle exception
232212
raise(e)
233213
except errors.SDKError as e:
234-
print(e) # handle exception
214+
# handle exception
235215
raise(e)
236216

237217
if res.company is not None:
@@ -265,13 +245,8 @@ s = codatsyncexpenses.CodatSyncExpenses(
265245
)
266246

267247
req = shared.CompanyRequestBody(
268-
description='Requested early access to the new financing scheme.',
269-
groups=[
270-
shared.GroupItems(
271-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
272-
),
273-
],
274248
name='Bank of Dave',
249+
description='Requested early access to the new financing scheme.',
275250
)
276251

277252
res = s.companies.create(req)
@@ -297,13 +272,8 @@ s = codatsyncexpenses.CodatSyncExpenses(
297272
)
298273

299274
req = shared.CompanyRequestBody(
300-
description='Requested early access to the new financing scheme.',
301-
groups=[
302-
shared.GroupItems(
303-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
304-
),
305-
],
306275
name='Bank of Dave',
276+
description='Requested early access to the new financing scheme.',
307277
)
308278

309279
res = s.companies.create(req)
@@ -353,13 +323,8 @@ s = codatsyncexpenses.CodatSyncExpenses(
353323
)
354324

355325
req = shared.CompanyRequestBody(
356-
description='Requested early access to the new financing scheme.',
357-
groups=[
358-
shared.GroupItems(
359-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
360-
),
361-
],
362326
name='Bank of Dave',
327+
description='Requested early access to the new financing scheme.',
363328
)
364329

365330
res = s.companies.create(req)

sync-for-expenses/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,4 +696,14 @@ Based on:
696696
### Generated
697697
- [python v6.0.0] sync-for-expenses
698698
### Releases
699-
- [PyPI v6.0.0] https://pypi.org/project/codat-sync-for-expenses/6.0.0 - sync-for-expenses
699+
- [PyPI v6.0.0] https://pypi.org/project/codat-sync-for-expenses/6.0.0 - sync-for-expenses
700+
701+
## 2024-02-14 10:44:06
702+
### Changes
703+
Based on:
704+
- OpenAPI Doc prealpha https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Sync-Expenses.yaml
705+
- Speakeasy CLI 1.179.0 (2.257.2) https://github.com/speakeasy-api/speakeasy
706+
### Generated
707+
- [python v6.0.1] sync-for-expenses
708+
### Releases
709+
- [PyPI v6.0.1] https://pypi.org/project/codat-sync-for-expenses/6.0.1 - sync-for-expenses

sync-for-expenses/USAGE.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,8 @@ s = codatsyncexpenses.CodatSyncExpenses(
1010
)
1111

1212
req = shared.CompanyRequestBody(
13-
description='Requested early access to the new financing scheme.',
14-
groups=[
15-
shared.GroupItems(
16-
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
17-
),
18-
],
1913
name='Bank of Dave',
14+
description='Requested early access to the new financing scheme.',
2015
)
2116

2217
res = s.companies.create(req)

sync-for-expenses/docs/models/errors/errormessage.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ The request made is not valid.
55

66
## Fields
77

8-
| Field | Type | Required | Description |
9-
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
10-
| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | `True` if the error occurred transiently and can be retried. |
11-
| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier used to propagate to all downstream services and determine the source of the error. |
12-
| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | Machine readable error code used to automate processes based on the code returned. |
13-
| `error` | *Optional[str]* | :heavy_minus_sign: | A brief description of the error. |
14-
| `service` | *Optional[str]* | :heavy_minus_sign: | Codat's service the returned the error. |
15-
| `status_code` | *Optional[int]* | :heavy_minus_sign: | The HTTP status code returned by the error. |
8+
| Field | Type | Required | Description |
9+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
10+
| `can_be_retried` | *Optional[str]* | :heavy_minus_sign: | `True` if the error occurred transiently and can be retried. |
11+
| `correlation_id` | *Optional[str]* | :heavy_minus_sign: | Unique identifier used to propagate to all downstream services and determine the source of the error. |
12+
| `detailed_error_code` | *Optional[int]* | :heavy_minus_sign: | Machine readable error code used to automate processes based on the code returned. |
13+
| `error` | *Optional[str]* | :heavy_minus_sign: | A brief description of the error. |
14+
| `service` | *Optional[str]* | :heavy_minus_sign: | Codat's service the returned the error. |
15+
| `status_code` | *Optional[int]* | :heavy_minus_sign: | The HTTP status code returned by the error. |
16+
| `validation` | [Optional[shared.ErrorValidation]](../../models/shared/errorvalidation.md) | :heavy_minus_sign: | A human-readable object describing validation decisions Codat has made. If an operation has failed because of validation errors, they will be detailed here. |

sync-for-expenses/docs/models/operations/createaccountrequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
| Field | Type | Required | Description | Example |
77
| ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- |
8-
| `account_prototype` | [Optional[shared.AccountPrototype]](../../models/shared/accountprototype.md) | :heavy_minus_sign: | N/A | |
9-
| `allow_sync_on_push_complete` | *Optional[bool]* | :heavy_minus_sign: | Allow a sync upon push completion. | |
108
| `company_id` | *str* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
119
| `connection_id` | *str* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
10+
| `account_prototype` | [Optional[shared.AccountPrototype]](../../models/shared/accountprototype.md) | :heavy_minus_sign: | N/A | |
11+
| `allow_sync_on_push_complete` | *Optional[bool]* | :heavy_minus_sign: | Allow a sync upon push completion. | |
1212
| `timeout_in_minutes` | *Optional[int]* | :heavy_minus_sign: | Time limit for the push operation to complete before it is timed out. | |

0 commit comments

Comments
 (0)