Skip to content

Commit e77a120

Browse files
authored
Merge pull request #188 from codatio/speakeasy-sdk-regen-1686183538
chore: speakeasy sdk regeneration - Generate Bank Feeds SDK
2 parents 3d98336 + 94b7805 commit e77a120

File tree

20 files changed

+231
-115
lines changed

20 files changed

+231
-115
lines changed

bankfeeds/README.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,34 @@ s = codatbankfeeds.CodatBankFeeds(
2323
)
2424

2525
req = operations.CreateBankTransactionsRequest(
26-
bank_transactions=shared.BankTransactions(
26+
create_bank_transactions=shared.CreateBankTransactions(
2727
account_id='corrupti',
28-
amount=5928.45,
29-
balance=7151.9,
30-
cleared_on_date='quibusdam',
31-
description='unde',
32-
id='d8d69a67-4e0f-4467-8c87-96ed151a05df',
33-
modified_date='quo',
34-
reconciled=False,
35-
source_modified_date='odit',
36-
transaction_type=shared.BankTransactionType.DIRECT_DEBIT,
28+
transactions=[
29+
shared.CreateBankAccountTransaction(
30+
amount=7151.9,
31+
date_='2022-10-23T00:00:00.000Z',
32+
description='unde',
33+
id='d8d69a67-4e0f-4467-8c87-96ed151a05df',
34+
),
35+
shared.CreateBankAccountTransaction(
36+
amount=7781.57,
37+
date_='2022-10-23T00:00:00.000Z',
38+
description='at',
39+
id='df7cc78c-a1ba-4928-bc81-6742cb739205',
40+
),
41+
shared.CreateBankAccountTransaction(
42+
amount=6176.36,
43+
date_='2022-10-23T00:00:00.000Z',
44+
description='iste',
45+
id='396fea75-96eb-410f-aaa2-352c5955907a',
46+
),
47+
],
3748
),
38-
account_id='at',
49+
account_id='EILBDVJVNUAGVKRQ',
3950
allow_sync_on_push_complete=False,
4051
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
4152
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
42-
timeout_in_minutes=978619,
53+
timeout_in_minutes=958950,
4354
)
4455

4556
res = s.bank_account_transactions.create(req)

bankfeeds/RELEASES.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,4 +502,20 @@ Based on:
502502
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
503503
- Speakeasy CLI 1.44.2 (2.35.9) https://github.com/speakeasy-api/speakeasy
504504
### Releases
505-
- [PyPI v0.23.1] https://pypi.org/project/codat-bankfeeds/0.23.1 - bankfeeds
505+
- [PyPI v0.23.1] https://pypi.org/project/codat-bankfeeds/0.23.1 - bankfeeds
506+
507+
## 2023-06-08 00:18:55
508+
### Changes
509+
Based on:
510+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
511+
- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy
512+
### Releases
513+
- [PyPI v0.24.0] https://pypi.org/project/codat-bankfeeds/0.24.0 - bankfeeds
514+
515+
## 2023-06-08 09:09:05
516+
### Changes
517+
Based on:
518+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
519+
- Speakeasy CLI 1.45.0 (2.37.0) https://github.com/speakeasy-api/speakeasy
520+
### Releases
521+
- [PyPI v0.24.1] https://pypi.org/project/codat-bankfeeds/0.24.1 - bankfeeds

bankfeeds/USAGE.md

Lines changed: 23 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,34 @@ s = codatbankfeeds.CodatBankFeeds(
1010
)
1111

1212
req = operations.CreateBankTransactionsRequest(
13-
bank_transactions=shared.BankTransactions(
13+
create_bank_transactions=shared.CreateBankTransactions(
1414
account_id='corrupti',
15-
amount=5928.45,
16-
balance=7151.9,
17-
cleared_on_date='quibusdam',
18-
description='unde',
19-
id='d8d69a67-4e0f-4467-8c87-96ed151a05df',
20-
modified_date='quo',
21-
reconciled=False,
22-
source_modified_date='odit',
23-
transaction_type=shared.BankTransactionType.DIRECT_DEBIT,
15+
transactions=[
16+
shared.CreateBankAccountTransaction(
17+
amount=7151.9,
18+
date_='2022-10-23T00:00:00.000Z',
19+
description='unde',
20+
id='d8d69a67-4e0f-4467-8c87-96ed151a05df',
21+
),
22+
shared.CreateBankAccountTransaction(
23+
amount=7781.57,
24+
date_='2022-10-23T00:00:00.000Z',
25+
description='at',
26+
id='df7cc78c-a1ba-4928-bc81-6742cb739205',
27+
),
28+
shared.CreateBankAccountTransaction(
29+
amount=6176.36,
30+
date_='2022-10-23T00:00:00.000Z',
31+
description='iste',
32+
id='396fea75-96eb-410f-aaa2-352c5955907a',
33+
),
34+
],
2435
),
25-
account_id='at',
36+
account_id='EILBDVJVNUAGVKRQ',
2637
allow_sync_on_push_complete=False,
2738
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
2839
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
29-
timeout_in_minutes=978619,
40+
timeout_in_minutes=958950,
3041
)
3142

3243
res = s.bank_account_transactions.create(req)

bankfeeds/docs/bankaccounttransactions/README.md

Lines changed: 27 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,34 @@ s = codatbankfeeds.CodatBankFeeds(
2929
)
3030

3131
req = operations.CreateBankTransactionsRequest(
32-
bank_transactions=shared.BankTransactions(
33-
account_id='molestiae',
34-
amount=7991.59,
35-
balance=8009.11,
36-
cleared_on_date='esse',
37-
description='totam',
38-
id='ca1ba928-fc81-4674-acb7-39205929396f',
39-
modified_date='saepe',
40-
reconciled=False,
41-
source_modified_date='fuga',
42-
transaction_type=shared.BankTransactionType.ATM,
32+
create_bank_transactions=shared.CreateBankTransactions(
33+
account_id='architecto',
34+
transactions=[
35+
shared.CreateBankAccountTransaction(
36+
amount=2088.76,
37+
date_='2022-10-23T00:00:00.000Z',
38+
description='consequuntur',
39+
id='fa946773-9251-4aa5-ac3f-5ad019da1ffe',
40+
),
41+
shared.CreateBankAccountTransaction(
42+
amount=4686.51,
43+
date_='2022-10-23T00:00:00.000Z',
44+
description='voluptatibus',
45+
id='097b0074-f154-471b-9e6e-13b99d488e1e',
46+
),
47+
shared.CreateBankAccountTransaction(
48+
amount=5759.47,
49+
date_='2022-10-23T00:00:00.000Z',
50+
description='itaque',
51+
id='450ad2ab-d442-4698-82d5-02a94bb4f63c',
52+
),
53+
],
4354
),
44-
account_id='corporis',
55+
account_id='7110701885',
4556
allow_sync_on_push_complete=False,
4657
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
4758
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
48-
timeout_in_minutes=613064,
59+
timeout_in_minutes=396098,
4960
)
5061

5162
res = s.bank_account_transactions.create(req)
@@ -71,7 +82,7 @@ s = codatbankfeeds.CodatBankFeeds(
7182
)
7283

7384
req = operations.GetCreateBankAccountModelRequest(
74-
account_id='iure',
85+
account_id='7110701885',
7586
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
7687
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
7788
)
@@ -99,13 +110,13 @@ s = codatbankfeeds.CodatBankFeeds(
99110
)
100111

101112
req = operations.ListBankAccountTransactionsRequest(
102-
account_id='saepe',
113+
account_id='EILBDVJVNUAGVKRQ',
103114
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
104115
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
105116
order_by='-modifiedDate',
106117
page=1,
107118
page_size=100,
108-
query='quidem',
119+
query='sint',
109120
)
110121

111122
res = s.bank_account_transactions.list(req)

bankfeeds/docs/bankfeedaccounts/README.md

Lines changed: 45 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,40 @@ s = codatbankfeeds.CodatBankFeeds(
2929
req = operations.CreateBankFeedRequest(
3030
request_body=[
3131
shared.BankFeedAccount(
32-
account_name='ipsa',
33-
account_number='reiciendis',
34-
account_type='est',
35-
balance=6531.4,
36-
currency='laborum',
37-
feed_start_date='dolores',
38-
id='352c5955-907a-4ff1-a3a2-fa9467739251',
39-
modified_date='laborum',
40-
sort_code='animi',
41-
status='enim',
32+
account_name='dolor',
33+
account_number='debitis',
34+
account_type='a',
35+
balance=6800.56,
36+
currency='in',
37+
feed_start_date='2022-10-23T00:00:00.000Z',
38+
id='dfb14cd6-6ae3-495e-bb9b-a88f3a669970',
39+
modified_date='2022-10-23T00:00:00.000Z',
40+
sort_code='magnam',
41+
status='distinctio',
42+
),
43+
shared.BankFeedAccount(
44+
account_name='id',
45+
account_number='labore',
46+
account_type='labore',
47+
balance=3834.62,
48+
currency='natus',
49+
feed_start_date='2022-10-23T00:00:00.000Z',
50+
id='6e214195-9890-4afa-963e-2516fe4c8b71',
51+
modified_date='2022-10-23T00:00:00.000Z',
52+
sort_code='repudiandae',
53+
status='ullam',
54+
),
55+
shared.BankFeedAccount(
56+
account_name='expedita',
57+
account_number='nihil',
58+
account_type='repellat',
59+
balance=8411.4,
60+
currency='sed',
61+
feed_start_date='2022-10-23T00:00:00.000Z',
62+
id='d028921c-ddc6-4926-81fb-576b0d5f0d30',
63+
modified_date='2022-10-23T00:00:00.000Z',
64+
sort_code='corporis',
65+
status='hic',
4266
),
4367
],
4468
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
@@ -96,18 +120,18 @@ s = codatbankfeeds.CodatBankFeeds(
96120

97121
req = operations.UpdateBankFeedRequest(
98122
bank_feed_account=shared.BankFeedAccount(
99-
account_name='odit',
100-
account_number='quo',
101-
account_type='sequi',
102-
balance=9495.72,
103-
currency='ipsam',
104-
feed_start_date='id',
105-
id='d019da1f-fe78-4f09-bb00-74f15471b5e6',
106-
modified_date='repudiandae',
107-
sort_code='quae',
108-
status='ipsum',
123+
account_name='libero',
124+
account_number='nobis',
125+
account_type='dolores',
126+
balance=3394.04,
127+
currency='totam',
128+
feed_start_date='2022-10-23T00:00:00.000Z',
129+
id='053202c7-3d5f-4e9b-90c2-8909b3fe49a8',
130+
modified_date='2022-10-23T00:00:00.000Z',
131+
sort_code='provident',
132+
status='nobis',
109133
),
110-
account_id='quidem',
134+
account_id='7110701885',
111135
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
112136
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
113137
)

bankfeeds/docs/companies/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ req = operations.ListCompaniesRequest(
112112
order_by='-modifiedDate',
113113
page=1,
114114
page_size=100,
115-
query='molestias',
115+
query='delectus',
116116
)
117117

118118
res = s.companies.list(req)

bankfeeds/docs/connections/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ s = codatbankfeeds.CodatBankFeeds(
3131

3232
req = operations.CreateDataConnectionRequest(
3333
request_body=operations.CreateDataConnectionRequestBody(
34-
platform_key='excepturi',
34+
platform_key='quaerat',
3535
),
3636
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
3737
)
@@ -118,7 +118,7 @@ req = operations.ListCompanyConnectionsRequest(
118118
order_by='-modifiedDate',
119119
page=1,
120120
page_size=100,
121-
query='pariatur',
121+
query='quos',
122122
)
123123

124124
res = s.connections.list(req)
@@ -173,7 +173,7 @@ s = codatbankfeeds.CodatBankFeeds(
173173

174174
req = operations.UnlinkConnectionRequest(
175175
request_body=operations.UnlinkConnectionRequestBody(
176-
status='modi',
176+
status='aliquid',
177177
),
178178
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
179179
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',

bankfeeds/files.gen

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ src/codatbankfeeds/models/shared/validation.py
3636
src/codatbankfeeds/models/shared/validationitem.py
3737
src/codatbankfeeds/models/shared/pushoperationstatus.py
3838
src/codatbankfeeds/models/shared/datatype.py
39-
src/codatbankfeeds/models/shared/banktransactions.py
40-
src/codatbankfeeds/models/shared/banktransactiontype.py
39+
src/codatbankfeeds/models/shared/createbanktransactions.py
40+
src/codatbankfeeds/models/shared/createbankaccounttransaction.py
4141
src/codatbankfeeds/models/shared/pushoperationchange.py
4242
src/codatbankfeeds/models/shared/pushchangetype.py
4343
src/codatbankfeeds/models/shared/pushoperationref.py
@@ -48,6 +48,8 @@ src/codatbankfeeds/models/shared/pushoptiontype.py
4848
src/codatbankfeeds/models/shared/pushoptionproperty.py
4949
src/codatbankfeeds/models/shared/pushoptionchoice.py
5050
src/codatbankfeeds/models/shared/banktransactionsresponse.py
51+
src/codatbankfeeds/models/shared/banktransactions.py
52+
src/codatbankfeeds/models/shared/banktransactiontype.py
5153
src/codatbankfeeds/models/shared/links.py
5254
src/codatbankfeeds/models/shared/href.py
5355
src/codatbankfeeds/models/shared/bankfeedaccount.py

bankfeeds/gen.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: f0f026c51087bdbbd75f7a6b5a9ca6f3
3+
docChecksum: 833c1925fcdfcc1e89fcca65d03c1c2b
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.44.2
6-
generationVersion: 2.35.9
5+
speakeasyVersion: 1.45.0
6+
generationVersion: 2.37.0
77
generation:
88
sdkClassName: CodatBankFeeds
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
python:
12-
version: 0.23.1
12+
version: 0.24.1
1313
author: Speakeasy
1414
description: Python Client SDK Generated by Speakeasy
1515
maxMethodParams: 0

bankfeeds/setup.py

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

1111
setuptools.setup(
1212
name="codat-bankfeeds",
13-
version="0.23.1",
13+
version="0.24.1",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

0 commit comments

Comments
 (0)