Skip to content

Commit 4ca2dca

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.469.10 (#634)
Co-authored-by: speakeasybot <[email protected]>
1 parent 9d7b4c9 commit 4ca2dca

Some content is hidden

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

41 files changed

+1366
-630
lines changed

.speakeasy/workflow.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
speakeasyVersion: 1.465.1
1+
speakeasyVersion: 1.469.10
22
sources:
33
accounting-source:
44
sourceNamespace: accounting-source
@@ -16,11 +16,11 @@ sources:
1616
- main
1717
bank-feeds-source:
1818
sourceNamespace: bank-feeds-source
19-
sourceRevisionDigest: sha256:9eca815edc06e448a2aa35c52eef65c564c4433edc25bb0e40c24c1ab73782af
20-
sourceBlobDigest: sha256:17e9963cca0e2088a998951d41b1bf78ea9574aebe1c9896caf253d88fd13d13
19+
sourceRevisionDigest: sha256:05a608be985dc9deb12eeb3a747ef0ae4cd1690b42852f97e61c7a43881748a7
20+
sourceBlobDigest: sha256:cffec1fdf5b4aa33774403da44fc8cfb24f5f59d507b1e83d73b1b28f8efa50e
2121
tags:
2222
- latest
23-
- speakeasy-sdk-regen-1736353877
23+
- speakeasy-sdk-regen-1737391437
2424
- 3.0.0
2525
banking-source:
2626
sourceNamespace: banking-source
@@ -111,10 +111,10 @@ targets:
111111
bank-feeds-library:
112112
source: bank-feeds-source
113113
sourceNamespace: bank-feeds-source
114-
sourceRevisionDigest: sha256:9eca815edc06e448a2aa35c52eef65c564c4433edc25bb0e40c24c1ab73782af
115-
sourceBlobDigest: sha256:17e9963cca0e2088a998951d41b1bf78ea9574aebe1c9896caf253d88fd13d13
114+
sourceRevisionDigest: sha256:05a608be985dc9deb12eeb3a747ef0ae4cd1690b42852f97e61c7a43881748a7
115+
sourceBlobDigest: sha256:cffec1fdf5b4aa33774403da44fc8cfb24f5f59d507b1e83d73b1b28f8efa50e
116116
codeSamplesNamespace: bank-feeds-source-python-code-samples
117-
codeSamplesRevisionDigest: sha256:6636b9b97c29f9e69eb08701825b921d5aa86d7f1db1692dbe6b6ec443fe6e3f
117+
codeSamplesRevisionDigest: sha256:769f019b1d6e0ca253780d1cec262d51ccd8297fa6a53d9bb1e28fd6b2ae11c1
118118
banking-library:
119119
source: banking-source
120120
sourceNamespace: banking-source

bank-feeds/.speakeasy/gen.lock

Lines changed: 241 additions & 168 deletions
Large diffs are not rendered by default.

bank-feeds/.speakeasy/gen.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generation:
1212
oAuth2PasswordEnabled: false
1313
telemetryEnabled: true
1414
python:
15-
version: 10.1.1
15+
version: 10.2.0
1616
additionalDependencies:
1717
dev: {}
1818
main: {}
@@ -22,6 +22,7 @@ python:
2222
clientServerStatusCodesAsErrors: true
2323
defaultErrorName: SDKError
2424
description: Set up bank feeds from accounts in your application to supported accounting software.
25+
enableCustomCodeRegions: false
2526
enumFormat: enum
2627
fixFlags:
2728
responseRequiredSep2024: false

bank-feeds/README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,6 @@ with CodatBankFeeds(
297297

298298
res = codat_bank_feeds.companies.create(request={
299299
"name": "Technicalium",
300-
"description": "Requested early access to the new financing scheme.",
301300
},
302301
RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False))
303302

@@ -323,7 +322,6 @@ with CodatBankFeeds(
323322

324323
res = codat_bank_feeds.companies.create(request={
325324
"name": "Technicalium",
326-
"description": "Requested early access to the new financing scheme.",
327325
})
328326

329327
assert res is not None
@@ -352,10 +350,11 @@ By default, an API error will raise a errors.SDKError exception, which has the f
352350

353351
When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `create_async` method may raise the following exceptions:
354352

355-
| Error Type | Status Code | Content Type |
356-
| ------------------- | --------------------------------- | ---------------- |
357-
| errors.ErrorMessage | 400, 401, 402, 403, 429, 500, 503 | application/json |
358-
| errors.SDKError | 4XX, 5XX | \*/\* |
353+
| Error Type | Status Code | Content Type |
354+
| ------------------- | ----------------------- | ---------------- |
355+
| errors.ErrorMessage | 400, 401, 402, 403, 429 | application/json |
356+
| errors.ErrorMessage | 500, 503 | application/json |
357+
| errors.SDKError | 4XX, 5XX | \*/\* |
359358

360359
### Example
361360

@@ -373,14 +372,16 @@ with CodatBankFeeds(
373372

374373
res = codat_bank_feeds.companies.create(request={
375374
"name": "Technicalium",
376-
"description": "Requested early access to the new financing scheme.",
377375
})
378376

379377
assert res is not None
380378

381379
# Handle response
382380
print(res)
383381

382+
except errors.ErrorMessage as e:
383+
# handle e.data: errors.ErrorMessageData
384+
raise(e)
384385
except errors.ErrorMessage as e:
385386
# handle e.data: errors.ErrorMessageData
386387
raise(e)
@@ -411,7 +412,6 @@ with CodatBankFeeds(
411412

412413
res = codat_bank_feeds.companies.create(request={
413414
"name": "Technicalium",
414-
"description": "Requested early access to the new financing scheme.",
415415
})
416416

417417
assert res is not None
@@ -531,7 +531,6 @@ with CodatBankFeeds(
531531

532532
res = codat_bank_feeds.companies.create(request={
533533
"name": "Technicalium",
534-
"description": "Requested early access to the new financing scheme.",
535534
})
536535

537536
assert res is not None

bank-feeds/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,4 +858,14 @@ Based on:
858858
### Generated
859859
- [python v10.1.1] bank-feeds
860860
### Releases
861-
- [PyPI v10.1.1] https://pypi.org/project/codat-bankfeeds/10.1.1 - bank-feeds
861+
- [PyPI v10.1.1] https://pypi.org/project/codat-bankfeeds/10.1.1 - bank-feeds
862+
863+
## 2025-01-20 16:43:34
864+
### Changes
865+
Based on:
866+
- OpenAPI Doc
867+
- Speakeasy CLI 1.469.10 (2.493.31) https://github.com/speakeasy-api/speakeasy
868+
### Generated
869+
- [python v10.2.0] bank-feeds
870+
### Releases
871+
- [PyPI v10.2.0] https://pypi.org/project/codat-bankfeeds/10.2.0 - bank-feeds

bank-feeds/USAGE.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ with CodatBankFeeds(
1212

1313
res = codat_bank_feeds.companies.create(request={
1414
"name": "Technicalium",
15-
"description": "Requested early access to the new financing scheme.",
1615
})
1716

1817
assert res is not None
@@ -39,7 +38,6 @@ async def main():
3938

4039
res = await codat_bank_feeds.companies.create_async(request={
4140
"name": "Technicalium",
42-
"description": "Requested early access to the new financing scheme.",
4341
})
4442

4543
assert res is not None
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# SourceAccountBatchCreateResponse
22

3-
The account ID and source account object of the successfully created source account.
3+
Account ID and resulting object of the batch `Create source account` request.
44

55

66
## Fields
77

8-
| Field | Type | Required | Description | Example |
9-
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
10-
| `result` | [Optional[shared.SourceAccount]](../../models/shared/sourceaccount.md) | :heavy_minus_sign: | The target bank account in a supported accounting software for ingestion into a bank feed. | {<br/>"id": "acc-002",<br/>"accountName": "account-081",<br/>"sortCode": "123456",<br/>"accountType": "Credit",<br/>"accountNumber": "12345670",<br/>"currency": "GBP",<br/>"balance": 99.99,<br/>"modifiedDate": "2023-01-09T14:14:14.1057478Z",<br/>"status": "pending"<br/>} |
11-
| `source_account_id` | *Optional[str]* | :heavy_minus_sign: | Unique ID for the source account. | 12345 |
8+
| Field | Type | Required | Description | Example |
9+
| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
10+
| `result` | [Optional[shared.SourceAccountBatchCreateResult]](../../models/shared/sourceaccountbatchcreateresult.md) | :heavy_minus_sign: | Status details and corresponding object of the `Create account` operation. | |
11+
| `source_account_id` | *Optional[str]* | :heavy_minus_sign: | Unique ID for the source account. | 12345 |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# SourceAccountBatchCreateResult
2+
3+
Status details and corresponding object of the `Create account` operation.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description | Example |
9+
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
10+
| `account` | [Optional[shared.SourceAccount]](../../models/shared/sourceaccount.md) | :heavy_minus_sign: | The target bank account in a supported accounting software for ingestion into a bank feed. | {<br/>"id": "acc-002",<br/>"accountName": "account-081",<br/>"sortCode": "123456",<br/>"accountType": "Credit",<br/>"accountNumber": "12345670",<br/>"currency": "GBP",<br/>"balance": 99.99,<br/>"modifiedDate": "2023-01-09T14:14:14.1057478Z",<br/>"status": "pending"<br/>} |
11+
| `error` | *OptionalNullable[str]* | :heavy_minus_sign: | A brief description of the error. | |
12+
| `status_code` | *Optional[int]* | :heavy_minus_sign: | The HTTP status code for the creation of the source account | |

0 commit comments

Comments
 (0)