Skip to content

Commit 66d360b

Browse files
authored
Merge pull request #559 from codatio/speakeasy-sdk-regen-1704719530
chore: 🐝 Update SDK - Generate Bank Feeds library
2 parents 4a76446 + b50bc0a commit 66d360b

File tree

26 files changed

+392
-74
lines changed

26 files changed

+392
-74
lines changed
Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,192 @@
1+
lockVersion: 2.0.0
2+
id: 07093ad1-99d8-4bbd-a29c-a624e1b0e25a
3+
management:
4+
docChecksum: b095b0a347cf654b362ab0929e984eb2
5+
docVersion: 3.0.0
6+
speakeasyVersion: internal
7+
generationVersion: 2.228.3
8+
releaseVersion: 6.0.0
9+
configChecksum: 3eb45974c86db9d25e88242a656ed13a
10+
repoURL: https://github.com/codatio/client-sdk-python.git
11+
repoSubDirectory: bank-feeds
12+
installationURL: https://github.com/codatio/client-sdk-python.git#subdirectory=bank-feeds
13+
published: true
14+
features:
15+
python:
16+
constsAndDefaults: 0.1.2
17+
core: 4.4.1
18+
deprecations: 2.81.1
19+
examples: 2.81.3
20+
globalSecurity: 2.83.1
21+
globalServerURLs: 2.82.1
22+
nameOverrides: 2.81.1
23+
retries: 2.82.0
24+
generatedFiles:
25+
- src/codatbankfeeds/sdkconfiguration.py
26+
- src/codatbankfeeds/companies.py
27+
- src/codatbankfeeds/connections.py
28+
- src/codatbankfeeds/account_mapping.py
29+
- src/codatbankfeeds/source_accounts.py
30+
- src/codatbankfeeds/transactions.py
31+
- src/codatbankfeeds/sdk.py
32+
- pylintrc
33+
- setup.py
34+
- src/codatbankfeeds/__init__.py
35+
- src/codatbankfeeds/utils/__init__.py
36+
- src/codatbankfeeds/utils/retries.py
37+
- src/codatbankfeeds/utils/utils.py
38+
- src/codatbankfeeds/models/errors/sdkerror.py
39+
- tests/helpers.py
40+
- src/codatbankfeeds/models/operations/create_company.py
41+
- src/codatbankfeeds/models/operations/delete_company.py
42+
- src/codatbankfeeds/models/operations/get_company.py
43+
- src/codatbankfeeds/models/operations/list_companies.py
44+
- src/codatbankfeeds/models/operations/update_company.py
45+
- src/codatbankfeeds/models/operations/create_connection.py
46+
- src/codatbankfeeds/models/operations/delete_connection.py
47+
- src/codatbankfeeds/models/operations/get_connection.py
48+
- src/codatbankfeeds/models/operations/list_connections.py
49+
- src/codatbankfeeds/models/operations/unlink_connection.py
50+
- src/codatbankfeeds/models/operations/create_bank_account_mapping.py
51+
- src/codatbankfeeds/models/operations/get_bank_account_mapping.py
52+
- src/codatbankfeeds/models/operations/create_source_account.py
53+
- src/codatbankfeeds/models/operations/delete_source_account.py
54+
- src/codatbankfeeds/models/operations/delete_bank_feed_credentials.py
55+
- src/codatbankfeeds/models/operations/generate_credentials.py
56+
- src/codatbankfeeds/models/operations/list_source_accounts.py
57+
- src/codatbankfeeds/models/operations/update_source_account.py
58+
- src/codatbankfeeds/models/operations/create_bank_transactions.py
59+
- src/codatbankfeeds/models/operations/get_create_operation.py
60+
- src/codatbankfeeds/models/operations/list_create_operations.py
61+
- src/codatbankfeeds/models/shared/zero.py
62+
- src/codatbankfeeds/models/shared/company.py
63+
- src/codatbankfeeds/models/shared/connection.py
64+
- src/codatbankfeeds/models/shared/dataconnectionstatus.py
65+
- src/codatbankfeeds/models/shared/dataconnectionerror.py
66+
- src/codatbankfeeds/models/shared/companyrequestbody.py
67+
- src/codatbankfeeds/models/shared/items.py
68+
- src/codatbankfeeds/models/shared/companies.py
69+
- src/codatbankfeeds/models/shared/links.py
70+
- src/codatbankfeeds/models/shared/halref.py
71+
- src/codatbankfeeds/models/shared/connections.py
72+
- src/codatbankfeeds/models/shared/bankfeedaccountmappingresponse.py
73+
- src/codatbankfeeds/models/shared/bankfeedmapping.py
74+
- src/codatbankfeeds/models/shared/targetaccountoption.py
75+
- src/codatbankfeeds/models/shared/sourceaccount.py
76+
- src/codatbankfeeds/models/shared/bankaccountcredentials.py
77+
- src/codatbankfeeds/models/shared/createbanktransactionsresponse.py
78+
- src/codatbankfeeds/models/shared/validation.py
79+
- src/codatbankfeeds/models/shared/validationitem.py
80+
- src/codatbankfeeds/models/shared/pushoperationstatus.py
81+
- src/codatbankfeeds/models/shared/datatype.py
82+
- src/codatbankfeeds/models/shared/createbanktransactions.py
83+
- src/codatbankfeeds/models/shared/banktransactions.py
84+
- src/codatbankfeeds/models/shared/pushoperationchange.py
85+
- src/codatbankfeeds/models/shared/pushchangetype.py
86+
- src/codatbankfeeds/models/shared/pushoperationref.py
87+
- src/codatbankfeeds/models/shared/pushoperation.py
88+
- src/codatbankfeeds/models/shared/pushoperations.py
89+
- src/codatbankfeeds/models/shared/security.py
90+
- src/codatbankfeeds/models/shared/clientratelimitreachedwebhook.py
91+
- src/codatbankfeeds/models/shared/clientratelimitreachedwebhookdata.py
92+
- src/codatbankfeeds/models/shared/clientratelimitresetwebhook.py
93+
- src/codatbankfeeds/models/shared/clientratelimitresetwebhookdata.py
94+
- src/codatbankfeeds/models/errors/errormessage.py
95+
- src/codatbankfeeds/models/webhooks/client_rate_limit_reached.py
96+
- src/codatbankfeeds/models/webhooks/client_rate_limit_reset.py
97+
- src/codatbankfeeds/models/__init__.py
98+
- src/codatbankfeeds/models/errors/__init__.py
99+
- src/codatbankfeeds/models/operations/__init__.py
100+
- src/codatbankfeeds/models/shared/__init__.py
101+
- src/codatbankfeeds/models/webhooks/__init__.py
102+
- docs/models/operations/createcompanyresponse.md
103+
- docs/models/operations/deletecompanyrequest.md
104+
- docs/models/operations/deletecompanyresponse.md
105+
- docs/models/operations/getcompanyrequest.md
106+
- docs/models/operations/getcompanyresponse.md
107+
- docs/models/operations/listcompaniesrequest.md
108+
- docs/models/operations/listcompaniesresponse.md
109+
- docs/models/operations/updatecompanyrequest.md
110+
- docs/models/operations/updatecompanyresponse.md
111+
- docs/models/operations/createconnectionrequestbody.md
112+
- docs/models/operations/createconnectionrequest.md
113+
- docs/models/operations/createconnectionresponse.md
114+
- docs/models/operations/deleteconnectionrequest.md
115+
- docs/models/operations/deleteconnectionresponse.md
116+
- docs/models/operations/getconnectionrequest.md
117+
- docs/models/operations/getconnectionresponse.md
118+
- docs/models/operations/listconnectionsrequest.md
119+
- docs/models/operations/listconnectionsresponse.md
120+
- docs/models/operations/unlinkconnectionupdateconnection.md
121+
- docs/models/operations/unlinkconnectionrequest.md
122+
- docs/models/operations/unlinkconnectionresponse.md
123+
- docs/models/operations/createbankaccountmappingrequest.md
124+
- docs/models/operations/createbankaccountmappingresponse.md
125+
- docs/models/operations/getbankaccountmappingrequest.md
126+
- docs/models/operations/getbankaccountmappingresponse.md
127+
- docs/models/operations/createsourceaccountrequest.md
128+
- docs/models/operations/createsourceaccountresponse.md
129+
- docs/models/operations/deletesourceaccountrequest.md
130+
- docs/models/operations/deletesourceaccountresponse.md
131+
- docs/models/operations/deletebankfeedcredentialsrequest.md
132+
- docs/models/operations/deletebankfeedcredentialsresponse.md
133+
- docs/models/operations/generatecredentialsrequest.md
134+
- docs/models/operations/generatecredentialsresponse.md
135+
- docs/models/operations/listsourceaccountsrequest.md
136+
- docs/models/operations/listsourceaccountsresponse.md
137+
- docs/models/operations/updatesourceaccountrequest.md
138+
- docs/models/operations/updatesourceaccountresponse.md
139+
- docs/models/operations/createbanktransactionsrequest.md
140+
- docs/models/operations/createbanktransactionsresponse.md
141+
- docs/models/operations/getcreateoperationrequest.md
142+
- docs/models/operations/getcreateoperationresponse.md
143+
- docs/models/operations/listcreateoperationsrequest.md
144+
- docs/models/operations/listcreateoperationsresponse.md
145+
- docs/models/shared/zero.md
146+
- docs/models/shared/groupreference.md
147+
- docs/models/shared/company.md
148+
- docs/models/shared/sourcetype.md
149+
- docs/models/shared/connection.md
150+
- docs/models/shared/dataconnectionstatus.md
151+
- docs/models/shared/dataconnectionerror.md
152+
- docs/models/shared/companyrequestbody.md
153+
- docs/models/shared/items.md
154+
- docs/models/shared/companies.md
155+
- docs/models/shared/links.md
156+
- docs/models/shared/halref.md
157+
- docs/models/shared/connections.md
158+
- docs/models/shared/bankfeedaccountmappingresponse.md
159+
- docs/models/shared/bankfeedmapping.md
160+
- docs/models/shared/targetaccountoption.md
161+
- docs/models/shared/sourceaccount.md
162+
- docs/models/shared/bankaccountcredentials.md
163+
- docs/models/shared/createbanktransactionsresponse.md
164+
- docs/models/shared/validation.md
165+
- docs/models/shared/validationitem.md
166+
- docs/models/shared/pushoperationstatus.md
167+
- docs/models/shared/datatype.md
168+
- docs/models/shared/createbanktransactions.md
169+
- docs/models/shared/banktransactiontype.md
170+
- docs/models/shared/banktransactions.md
171+
- docs/models/shared/pushoperationchange.md
172+
- docs/models/shared/pushchangetype.md
173+
- docs/models/shared/pushoperationref.md
174+
- docs/models/shared/pushoperation.md
175+
- docs/models/shared/pushoperations.md
176+
- docs/models/shared/security.md
177+
- docs/models/shared/clientratelimitreachedwebhook.md
178+
- docs/models/shared/clientratelimitreachedwebhookdata.md
179+
- docs/models/shared/clientratelimitresetwebhook.md
180+
- docs/models/shared/clientratelimitresetwebhookdata.md
181+
- docs/models/errors/errormessage.md
182+
- docs/models/webhooks/clientratelimitreachedresponse.md
183+
- docs/models/webhooks/clientratelimitresetresponse.md
184+
- docs/sdks/codatbankfeeds/README.md
185+
- docs/models/utils/retryconfig.md
186+
- docs/sdks/companies/README.md
187+
- docs/sdks/connections/README.md
188+
- docs/sdks/accountmapping/README.md
189+
- docs/sdks/sourceaccounts/README.md
190+
- docs/sdks/transactions/README.md
191+
- USAGE.md
192+
- .gitattributes

β€Žbank-feeds/README.mdβ€Ž

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ s = codatbankfeeds.CodatBankFeeds(
3030

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

@@ -104,6 +109,11 @@ s = codatbankfeeds.CodatBankFeeds(
104109

105110
req = shared.CompanyRequestBody(
106111
description='Requested early access to the new financing scheme.',
112+
groups=[
113+
shared.Items(
114+
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
115+
),
116+
],
107117
name='Bank of Dave',
108118
)
109119

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

131141
req = shared.CompanyRequestBody(
132142
description='Requested early access to the new financing scheme.',
143+
groups=[
144+
shared.Items(
145+
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
146+
),
147+
],
133148
name='Bank of Dave',
134149
)
135150

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

156171
### Example
157172

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

168183
req = shared.CompanyRequestBody(
169184
description='Requested early access to the new financing scheme.',
185+
groups=[
186+
shared.Items(
187+
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
188+
),
189+
],
170190
name='Bank of Dave',
171191
)
172192

@@ -214,6 +234,11 @@ s = codatbankfeeds.CodatBankFeeds(
214234

215235
req = shared.CompanyRequestBody(
216236
description='Requested early access to the new financing scheme.',
237+
groups=[
238+
shared.Items(
239+
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
240+
),
241+
],
217242
name='Bank of Dave',
218243
)
219244

@@ -241,6 +266,11 @@ s = codatbankfeeds.CodatBankFeeds(
241266

242267
req = shared.CompanyRequestBody(
243268
description='Requested early access to the new financing scheme.',
269+
groups=[
270+
shared.Items(
271+
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
272+
),
273+
],
244274
name='Bank of Dave',
245275
)
246276

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

260-
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.
290+
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.
261291

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

297327
req = shared.CompanyRequestBody(
298328
description='Requested early access to the new financing scheme.',
329+
groups=[
330+
shared.Items(
331+
id='60d2fa12-8a04-11ee-b9d1-0242ac120002',
332+
),
333+
],
299334
name='Bank of Dave',
300335
)
301336

β€Žbank-feeds/RELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,4 +748,14 @@ Based on:
748748
### Generated
749749
- [python v5.1.0] bank-feeds
750750
### Releases
751-
- [PyPI v5.1.0] https://pypi.org/project/codat-bankfeeds/5.1.0 - bank-feeds
751+
- [PyPI v5.1.0] https://pypi.org/project/codat-bankfeeds/5.1.0 - bank-feeds
752+
753+
## 2024-01-08 13:12:04
754+
### Changes
755+
Based on:
756+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
757+
- Speakeasy CLI 1.133.2 (2.228.3) https://github.com/speakeasy-api/speakeasy
758+
### Generated
759+
- [python v6.0.0] bank-feeds
760+
### Releases
761+
- [PyPI v6.0.0] https://pypi.org/project/codat-bankfeeds/6.0.0 - bank-feeds

β€Žbank-feeds/USAGE.mdβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ s = codatbankfeeds.CodatBankFeeds(
1111

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

β€Žbank-feeds/docs/models/operations/listsourceaccountsresponse.mdβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
| Field | Type | Required | Description |
77
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
88
| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation |
9-
| `source_account` | [Optional[shared.SourceAccount]](../../models/shared/sourceaccount.md) | :heavy_minus_sign: | Success |
109
| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation |
11-
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
10+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_check_mark: | Raw HTTP response; suitable for custom response parsing |
11+
| `source_accounts` | List[[shared.SourceAccount](../../models/shared/sourceaccount.md)] | :heavy_minus_sign: | Success |

0 commit comments

Comments
Β (0)