Skip to content

Commit

Permalink
Merge pull request #559 from codatio/speakeasy-sdk-regen-1704719530
Browse files Browse the repository at this point in the history
chore: 🐝 Update SDK - Generate Bank Feeds library
  • Loading branch information
dcoplowe authored Jan 8, 2024
2 parents 4a76446 + b50bc0a commit 66d360b
Show file tree
Hide file tree
Showing 26 changed files with 392 additions and 74 deletions.
192 changes: 192 additions & 0 deletions bank-feeds/.speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,192 @@
lockVersion: 2.0.0
id: 07093ad1-99d8-4bbd-a29c-a624e1b0e25a
management:
docChecksum: b095b0a347cf654b362ab0929e984eb2
docVersion: 3.0.0
speakeasyVersion: internal
generationVersion: 2.228.3
releaseVersion: 6.0.0
configChecksum: 3eb45974c86db9d25e88242a656ed13a
repoURL: https://github.com/codatio/client-sdk-python.git
repoSubDirectory: bank-feeds
installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=bank-feeds
published: true
features:
python:
constsAndDefaults: 0.1.2
core: 4.4.1
deprecations: 2.81.1
examples: 2.81.3
globalSecurity: 2.83.1
globalServerURLs: 2.82.1
nameOverrides: 2.81.1
retries: 2.82.0
generatedFiles:
- src/codatbankfeeds/sdkconfiguration.py
- src/codatbankfeeds/companies.py
- src/codatbankfeeds/connections.py
- src/codatbankfeeds/account_mapping.py
- src/codatbankfeeds/source_accounts.py
- src/codatbankfeeds/transactions.py
- src/codatbankfeeds/sdk.py
- pylintrc
- setup.py
- src/codatbankfeeds/__init__.py
- src/codatbankfeeds/utils/__init__.py
- src/codatbankfeeds/utils/retries.py
- src/codatbankfeeds/utils/utils.py
- src/codatbankfeeds/models/errors/sdkerror.py
- tests/helpers.py
- src/codatbankfeeds/models/operations/create_company.py
- src/codatbankfeeds/models/operations/delete_company.py
- src/codatbankfeeds/models/operations/get_company.py
- src/codatbankfeeds/models/operations/list_companies.py
- src/codatbankfeeds/models/operations/update_company.py
- src/codatbankfeeds/models/operations/create_connection.py
- src/codatbankfeeds/models/operations/delete_connection.py
- src/codatbankfeeds/models/operations/get_connection.py
- src/codatbankfeeds/models/operations/list_connections.py
- src/codatbankfeeds/models/operations/unlink_connection.py
- src/codatbankfeeds/models/operations/create_bank_account_mapping.py
- src/codatbankfeeds/models/operations/get_bank_account_mapping.py
- src/codatbankfeeds/models/operations/create_source_account.py
- src/codatbankfeeds/models/operations/delete_source_account.py
- src/codatbankfeeds/models/operations/delete_bank_feed_credentials.py
- src/codatbankfeeds/models/operations/generate_credentials.py
- src/codatbankfeeds/models/operations/list_source_accounts.py
- src/codatbankfeeds/models/operations/update_source_account.py
- src/codatbankfeeds/models/operations/create_bank_transactions.py
- src/codatbankfeeds/models/operations/get_create_operation.py
- src/codatbankfeeds/models/operations/list_create_operations.py
- src/codatbankfeeds/models/shared/zero.py
- src/codatbankfeeds/models/shared/company.py
- src/codatbankfeeds/models/shared/connection.py
- src/codatbankfeeds/models/shared/dataconnectionstatus.py
- src/codatbankfeeds/models/shared/dataconnectionerror.py
- src/codatbankfeeds/models/shared/companyrequestbody.py
- src/codatbankfeeds/models/shared/items.py
- src/codatbankfeeds/models/shared/companies.py
- src/codatbankfeeds/models/shared/links.py
- src/codatbankfeeds/models/shared/halref.py
- src/codatbankfeeds/models/shared/connections.py
- src/codatbankfeeds/models/shared/bankfeedaccountmappingresponse.py
- src/codatbankfeeds/models/shared/bankfeedmapping.py
- src/codatbankfeeds/models/shared/targetaccountoption.py
- src/codatbankfeeds/models/shared/sourceaccount.py
- src/codatbankfeeds/models/shared/bankaccountcredentials.py
- src/codatbankfeeds/models/shared/createbanktransactionsresponse.py
- src/codatbankfeeds/models/shared/validation.py
- src/codatbankfeeds/models/shared/validationitem.py
- src/codatbankfeeds/models/shared/pushoperationstatus.py
- src/codatbankfeeds/models/shared/datatype.py
- src/codatbankfeeds/models/shared/createbanktransactions.py
- src/codatbankfeeds/models/shared/banktransactions.py
- src/codatbankfeeds/models/shared/pushoperationchange.py
- src/codatbankfeeds/models/shared/pushchangetype.py
- src/codatbankfeeds/models/shared/pushoperationref.py
- src/codatbankfeeds/models/shared/pushoperation.py
- src/codatbankfeeds/models/shared/pushoperations.py
- src/codatbankfeeds/models/shared/security.py
- src/codatbankfeeds/models/shared/clientratelimitreachedwebhook.py
- src/codatbankfeeds/models/shared/clientratelimitreachedwebhookdata.py
- src/codatbankfeeds/models/shared/clientratelimitresetwebhook.py
- src/codatbankfeeds/models/shared/clientratelimitresetwebhookdata.py
- src/codatbankfeeds/models/errors/errormessage.py
- src/codatbankfeeds/models/webhooks/client_rate_limit_reached.py
- src/codatbankfeeds/models/webhooks/client_rate_limit_reset.py
- src/codatbankfeeds/models/__init__.py
- src/codatbankfeeds/models/errors/__init__.py
- src/codatbankfeeds/models/operations/__init__.py
- src/codatbankfeeds/models/shared/__init__.py
- src/codatbankfeeds/models/webhooks/__init__.py
- docs/models/operations/createcompanyresponse.md
- docs/models/operations/deletecompanyrequest.md
- docs/models/operations/deletecompanyresponse.md
- docs/models/operations/getcompanyrequest.md
- docs/models/operations/getcompanyresponse.md
- docs/models/operations/listcompaniesrequest.md
- docs/models/operations/listcompaniesresponse.md
- docs/models/operations/updatecompanyrequest.md
- docs/models/operations/updatecompanyresponse.md
- docs/models/operations/createconnectionrequestbody.md
- docs/models/operations/createconnectionrequest.md
- docs/models/operations/createconnectionresponse.md
- docs/models/operations/deleteconnectionrequest.md
- docs/models/operations/deleteconnectionresponse.md
- docs/models/operations/getconnectionrequest.md
- docs/models/operations/getconnectionresponse.md
- docs/models/operations/listconnectionsrequest.md
- docs/models/operations/listconnectionsresponse.md
- docs/models/operations/unlinkconnectionupdateconnection.md
- docs/models/operations/unlinkconnectionrequest.md
- docs/models/operations/unlinkconnectionresponse.md
- docs/models/operations/createbankaccountmappingrequest.md
- docs/models/operations/createbankaccountmappingresponse.md
- docs/models/operations/getbankaccountmappingrequest.md
- docs/models/operations/getbankaccountmappingresponse.md
- docs/models/operations/createsourceaccountrequest.md
- docs/models/operations/createsourceaccountresponse.md
- docs/models/operations/deletesourceaccountrequest.md
- docs/models/operations/deletesourceaccountresponse.md
- docs/models/operations/deletebankfeedcredentialsrequest.md
- docs/models/operations/deletebankfeedcredentialsresponse.md
- docs/models/operations/generatecredentialsrequest.md
- docs/models/operations/generatecredentialsresponse.md
- docs/models/operations/listsourceaccountsrequest.md
- docs/models/operations/listsourceaccountsresponse.md
- docs/models/operations/updatesourceaccountrequest.md
- docs/models/operations/updatesourceaccountresponse.md
- docs/models/operations/createbanktransactionsrequest.md
- docs/models/operations/createbanktransactionsresponse.md
- docs/models/operations/getcreateoperationrequest.md
- docs/models/operations/getcreateoperationresponse.md
- docs/models/operations/listcreateoperationsrequest.md
- docs/models/operations/listcreateoperationsresponse.md
- docs/models/shared/zero.md
- docs/models/shared/groupreference.md
- docs/models/shared/company.md
- docs/models/shared/sourcetype.md
- docs/models/shared/connection.md
- docs/models/shared/dataconnectionstatus.md
- docs/models/shared/dataconnectionerror.md
- docs/models/shared/companyrequestbody.md
- docs/models/shared/items.md
- docs/models/shared/companies.md
- docs/models/shared/links.md
- docs/models/shared/halref.md
- docs/models/shared/connections.md
- docs/models/shared/bankfeedaccountmappingresponse.md
- docs/models/shared/bankfeedmapping.md
- docs/models/shared/targetaccountoption.md
- docs/models/shared/sourceaccount.md
- docs/models/shared/bankaccountcredentials.md
- docs/models/shared/createbanktransactionsresponse.md
- docs/models/shared/validation.md
- docs/models/shared/validationitem.md
- docs/models/shared/pushoperationstatus.md
- docs/models/shared/datatype.md
- docs/models/shared/createbanktransactions.md
- docs/models/shared/banktransactiontype.md
- docs/models/shared/banktransactions.md
- docs/models/shared/pushoperationchange.md
- docs/models/shared/pushchangetype.md
- docs/models/shared/pushoperationref.md
- docs/models/shared/pushoperation.md
- docs/models/shared/pushoperations.md
- docs/models/shared/security.md
- docs/models/shared/clientratelimitreachedwebhook.md
- docs/models/shared/clientratelimitreachedwebhookdata.md
- docs/models/shared/clientratelimitresetwebhook.md
- docs/models/shared/clientratelimitresetwebhookdata.md
- docs/models/errors/errormessage.md
- docs/models/webhooks/clientratelimitreachedresponse.md
- docs/models/webhooks/clientratelimitresetresponse.md
- docs/sdks/codatbankfeeds/README.md
- docs/models/utils/retryconfig.md
- docs/sdks/companies/README.md
- docs/sdks/connections/README.md
- docs/sdks/accountmapping/README.md
- docs/sdks/sourceaccounts/README.md
- docs/sdks/transactions/README.md
- USAGE.md
- .gitattributes
39 changes: 37 additions & 2 deletions bank-feeds/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand Down Expand Up @@ -104,6 +109,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand All @@ -130,6 +140,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand All @@ -151,7 +166,7 @@ Handling errors in this SDK should largely match your expectations. All operati
| Error Object | Status Code | Content Type |
| --------------------------- | --------------------------- | --------------------------- |
| errors.ErrorMessage | 400,401,402,403,429,500,503 | application/json |
| errors.SDKError | 400-600 | */* |
| errors.SDKError | 4x-5xx | */* |

### Example

Expand All @@ -167,6 +182,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand Down Expand Up @@ -214,6 +234,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand Down Expand Up @@ -241,6 +266,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand All @@ -257,7 +287,7 @@ if res.company is not None:
<!-- Start Custom HTTP Client [http-client] -->
## Custom HTTP Client

The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object.
The Python SDK makes API calls using the [requests](https://pypi.org/project/requests/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object.

For example, you could specify a header for every request that this sdk makes as follows:
```python
Expand Down Expand Up @@ -296,6 +326,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand Down
12 changes: 11 additions & 1 deletion bank-feeds/RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -748,4 +748,14 @@ Based on:
### Generated
- [python v5.1.0] bank-feeds
### Releases
- [PyPI v5.1.0] https://pypi.org/project/codat-bankfeeds/5.1.0 - bank-feeds
- [PyPI v5.1.0] https://pypi.org/project/codat-bankfeeds/5.1.0 - bank-feeds

## 2024-01-08 13:12:04
### Changes
Based on:
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
- Speakeasy CLI 1.133.2 (2.228.3) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v6.0.0] bank-feeds
### Releases
- [PyPI v6.0.0] https://pypi.org/project/codat-bankfeeds/6.0.0 - bank-feeds
5 changes: 5 additions & 0 deletions bank-feeds/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ s = codatbankfeeds.CodatBankFeeds(

req = shared.CompanyRequestBody(
description='Requested early access to the new financing scheme.',
groups=[
shared.Items(
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
),
],
name='Bank of Dave',
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
| `source_account` | [Optional[shared.SourceAccount]](../../models/shared/sourceaccount.md) | :heavy_minus_sign: | Success |
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
| `source_accounts` | List[[shared.SourceAccount](../../models/shared/sourceaccount.md)] | :heavy_minus_sign: | Success |
Loading

0 comments on commit 66d360b

Please sign in to comment.