Skip to content

Commit 631de5b

Browse files
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.531.0 (#638)
Co-authored-by: speakeasybot <[email protected]>
1 parent f69caf8 commit 631de5b

File tree

111 files changed

+1046
-1000
lines changed

Some content is hidden

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

111 files changed

+1046
-1000
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.501.1
1+
speakeasyVersion: 1.531.0
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:406fc65cd0789662c52a4543f8ebde1591a55b4dccd1ce5ca1f79b753fe3b6b8
20-
sourceBlobDigest: sha256:32ef2170d2a23ba969ba364ad8138e99de4de8e5ec43e66a9a2020b489f2ca18
19+
sourceRevisionDigest: sha256:214e7d692b50d16cffef52b8667a7a3e33affb204b84dd0da14c52048ab1ca4e
20+
sourceBlobDigest: sha256:bce35cd1d6fa52e063602e3791667cd0fb386695d2c116d2f5ddcfde44c05cfe
2121
tags:
2222
- latest
23-
- speakeasy-sdk-regen-1738082181
23+
- speakeasy-sdk-regen-1744193331
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:406fc65cd0789662c52a4543f8ebde1591a55b4dccd1ce5ca1f79b753fe3b6b8
115-
sourceBlobDigest: sha256:32ef2170d2a23ba969ba364ad8138e99de4de8e5ec43e66a9a2020b489f2ca18
114+
sourceRevisionDigest: sha256:214e7d692b50d16cffef52b8667a7a3e33affb204b84dd0da14c52048ab1ca4e
115+
sourceBlobDigest: sha256:bce35cd1d6fa52e063602e3791667cd0fb386695d2c116d2f5ddcfde44c05cfe
116116
codeSamplesNamespace: bank-feeds-source-python-code-samples
117-
codeSamplesRevisionDigest: sha256:a33dae9c9ff3c3d3205b35071ec9959903db9ca435c218fa7f3bad95fd4abce3
117+
codeSamplesRevisionDigest: sha256:6c5373f72e49de6edecec39a26a6afff6109569c288b9d669a76b1c63c74e124
118118
banking-library:
119119
source: banking-source
120120
sourceNamespace: banking-source

bank-feeds/.speakeasy/gen.lock

Lines changed: 31 additions & 46 deletions
Large diffs are not rendered by default.

bank-feeds/.speakeasy/gen.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ generation:
44
usageSnippets:
55
optionalPropertyRendering: withExample
66
fixes:
7-
nameResolutionDec2023: false
7+
nameResolutionFeb2025: false
88
parameterOrderingFeb2024: false
99
requestResponseComponentNamesFeb2024: false
10+
securityFeb2025: false
1011
auth:
1112
oAuth2ClientCredentialsEnabled: false
1213
oAuth2PasswordEnabled: false
1314
telemetryEnabled: true
1415
python:
15-
version: 11.0.0
16+
version: 11.1.0
1617
additionalDependencies:
1718
dev: {}
1819
main: {}
@@ -42,5 +43,6 @@ python:
4243
methodArguments: infer-optional-args
4344
outputModelSuffix: output
4445
packageName: codat-bankfeeds
46+
pytestTimeout: 0
4547
responseFormat: flat
4648
templateVersion: v2

bank-feeds/README.md

Lines changed: 46 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
<!-- Start Summary [summary] -->
88
## Summary
99

10-
Bank Feeds API: Bank Feeds API enables your SMB users to set up bank feeds from accounts in your application to supported accounting software.
10+
Bank Feeds: Bank Feeds solution enables your SMB users to set up bank feeds from accounts in your application to supported accounting software.
1111

1212
A bank feed is a connection between a source bank account in your application and a target bank account in a supported accounting software.
1313

14-
[Explore product](https://docs.codat.io/bank-feeds-api/overview) | [See OpenAPI spec](https://github.com/codatio/oas)
14+
[Explore solution](https://docs.codat.io/bank-feeds-api/overview) | [See OpenAPI spec](https://github.com/codatio/oas)
1515

1616
---
1717
<!-- Start Codat Tags Table -->
@@ -75,6 +75,37 @@ pip install codat-bankfeeds
7575
```bash
7676
poetry add codat-bankfeeds
7777
```
78+
79+
### Shell and script usage with `uv`
80+
81+
You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
82+
83+
```shell
84+
uvx --from codat-bankfeeds python
85+
```
86+
87+
It's also possible to write a standalone Python script without needing to set up a whole project like so:
88+
89+
```python
90+
#!/usr/bin/env -S uv run --script
91+
# /// script
92+
# requires-python = ">=3.9"
93+
# dependencies = [
94+
# "codat-bankfeeds",
95+
# ]
96+
# ///
97+
98+
from codat_bankfeeds import CodatBankFeeds
99+
100+
sdk = CodatBankFeeds(
101+
# SDK arguments
102+
)
103+
104+
# Rest of script here...
105+
```
106+
107+
Once that is saved to a file, you can run it with `uv run script.py` where
108+
`script.py` can be replaced with the actual file name.
78109
<!-- End SDK Installation [installation] -->
79110

80111
## Example Usage
@@ -99,6 +130,7 @@ from codat_bankfeeds import CodatBankFeeds
99130
from codat_bankfeeds.models import shared
100131
from decimal import Decimal
101132

133+
102134
with CodatBankFeeds() as codat_bank_feeds:
103135

104136
codat_bank_feeds.bank_feeds_source_account_connected(request={
@@ -116,11 +148,11 @@ with CodatBankFeeds() as codat_bank_feeds:
116148
"name": "Toft stores",
117149
},
118150
"source_account": {
119-
"id": "acc-002",
120151
"account_name": "account-081",
121152
"account_number": "12345678",
122153
"balance": Decimal("99.99"),
123154
"currency": "GBP",
155+
"id": "acc-002",
124156
"modified_date": "2023-01-09T14:14:14.105Z",
125157
"sort_code": "040004",
126158
"status": shared.Status.PENDING,
@@ -142,6 +174,7 @@ from codat_bankfeeds.models import shared
142174
from decimal import Decimal
143175

144176
async def main():
177+
145178
async with CodatBankFeeds() as codat_bank_feeds:
146179

147180
await codat_bank_feeds.bank_feeds_source_account_connected_async(request={
@@ -159,11 +192,11 @@ async def main():
159192
"name": "Toft stores",
160193
},
161194
"source_account": {
162-
"id": "acc-002",
163195
"account_name": "account-081",
164196
"account_number": "12345678",
165197
"balance": Decimal("99.99"),
166198
"currency": "GBP",
199+
"id": "acc-002",
167200
"modified_date": "2023-01-09T14:14:14.105Z",
168201
"sort_code": "040004",
169202
"status": shared.Status.PENDING,
@@ -264,6 +297,7 @@ Certain SDK methods accept file objects as part of a request body or multi-part
264297
from codat_bankfeeds import CodatBankFeeds
265298
from codat_bankfeeds.models import shared
266299

300+
267301
with CodatBankFeeds(
268302
security=shared.Security(
269303
auth_header="Basic BASE_64_ENCODED(API_KEY)",
@@ -295,6 +329,7 @@ from codat_bankfeeds import CodatBankFeeds
295329
from codat_bankfeeds.models import shared
296330
from codat_bankfeeds.utils import BackoffStrategy, RetryConfig
297331

332+
298333
with CodatBankFeeds(
299334
security=shared.Security(
300335
auth_header="Basic BASE_64_ENCODED(API_KEY)",
@@ -319,6 +354,7 @@ from codat_bankfeeds import CodatBankFeeds
319354
from codat_bankfeeds.models import shared
320355
from codat_bankfeeds.utils import BackoffStrategy, RetryConfig
321356

357+
322358
with CodatBankFeeds(
323359
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
324360
security=shared.Security(
@@ -368,6 +404,7 @@ When custom error responses are specified for an operation, the SDK may also rai
368404
from codat_bankfeeds import CodatBankFeeds
369405
from codat_bankfeeds.models import errors, shared
370406

407+
371408
with CodatBankFeeds(
372409
security=shared.Security(
373410
auth_header="Basic BASE_64_ENCODED(API_KEY)",
@@ -404,11 +441,12 @@ with CodatBankFeeds(
404441

405442
### Override Server URL Per-Client
406443

407-
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
444+
The default server can be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
408445
```python
409446
from codat_bankfeeds import CodatBankFeeds
410447
from codat_bankfeeds.models import shared
411448

449+
412450
with CodatBankFeeds(
413451
server_url="https://api.codat.io",
414452
security=shared.Security(
@@ -529,6 +567,7 @@ You can set the security parameters through the `security` optional parameter wh
529567
from codat_bankfeeds import CodatBankFeeds
530568
from codat_bankfeeds.models import shared
531569

570+
532571
with CodatBankFeeds(
533572
security=shared.Security(
534573
auth_header="Basic BASE_64_ENCODED(API_KEY)",
@@ -558,6 +597,7 @@ The `CodatBankFeeds` class implements the context manager protocol and registers
558597
from codat_bankfeeds import CodatBankFeeds
559598
from codat_bankfeeds.models import shared
560599
def main():
600+
561601
with CodatBankFeeds(
562602
security=shared.Security(
563603
auth_header="Basic BASE_64_ENCODED(API_KEY)",
@@ -568,6 +608,7 @@ def main():
568608

569609
# Or when using async:
570610
async def amain():
611+
571612
async with CodatBankFeeds(
572613
security=shared.Security(
573614
auth_header="Basic BASE_64_ENCODED(API_KEY)",

bank-feeds/RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,4 +878,14 @@ Based on:
878878
### Generated
879879
- [python v11.0.0] bank-feeds
880880
### Releases
881-
- [PyPI v11.0.0] https://pypi.org/project/codat-bankfeeds/11.0.0 - bank-feeds
881+
- [PyPI v11.0.0] https://pypi.org/project/codat-bankfeeds/11.0.0 - bank-feeds
882+
883+
## 2025-04-09 10:08:30
884+
### Changes
885+
Based on:
886+
- OpenAPI Doc
887+
- Speakeasy CLI 1.531.0 (2.568.2) https://github.com/speakeasy-api/speakeasy
888+
### Generated
889+
- [python v11.1.0] bank-feeds
890+
### Releases
891+
- [PyPI v11.1.0] https://pypi.org/project/codat-bankfeeds/11.1.0 - bank-feeds

bank-feeds/USAGE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from codat_bankfeeds import CodatBankFeeds
55
from codat_bankfeeds.models import shared
66

7+
78
with CodatBankFeeds(
89
security=shared.Security(
910
auth_header="Basic BASE_64_ENCODED(API_KEY)",
@@ -30,6 +31,7 @@ from codat_bankfeeds import CodatBankFeeds
3031
from codat_bankfeeds.models import shared
3132

3233
async def main():
34+
3335
async with CodatBankFeeds(
3436
security=shared.Security(
3537
auth_header="Basic BASE_64_ENCODED(API_KEY)",

bank-feeds/docs/models/operations/createbankaccountmappingrequest.md

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

66
| Field | Type | Required | Description | Example |
77
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
8+
| `bank_feed_account_mapping` | [Optional[shared.BankFeedAccountMapping]](../../models/shared/bankfeedaccountmapping.md) | :heavy_minus_sign: | N/A | {<br/>"sourceAccountId": "acc-002",<br/>"targetAccountId": "account-081"<br/>} |
89
| `company_id` | *str* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
9-
| `connection_id` | *str* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
10-
| `bank_feed_account_mapping` | [Optional[shared.BankFeedAccountMapping]](../../models/shared/bankfeedaccountmapping.md) | :heavy_minus_sign: | N/A | {<br/>"sourceAccountId": "acc-002",<br/>"targetAccountId": "account-081"<br/>} |
10+
| `connection_id` | *str* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |

bank-feeds/docs/models/operations/createbankaccountrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
| Field | Type | Required | Description | Example |
77
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
8+
| `bank_account_prototype` | [Optional[shared.BankAccountPrototype]](../../models/shared/bankaccountprototype.md) | :heavy_minus_sign: | N/A | |
89
| `company_id` | *str* | :heavy_check_mark: | Unique identifier for a company. | 8a210b68-6988-11ed-a1eb-0242ac120002 |
910
| `connection_id` | *str* | :heavy_check_mark: | Unique identifier for a connection. | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
10-
| `bank_account_prototype` | [Optional[shared.BankAccountPrototype]](../../models/shared/bankaccountprototype.md) | :heavy_minus_sign: | N/A | |
1111
| `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)