Skip to content

Commit 83ff7f7

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.52.0
1 parent b91ac78 commit 83ff7f7

20 files changed

Lines changed: 272 additions & 64 deletions

File tree

bankfeeds/README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,9 @@ if res.account_mapping_result is not None:
5757
### [bank_feed_accounts](docs/sdks/bankfeedaccounts/README.md)
5858

5959
* [create](docs/sdks/bankfeedaccounts/README.md#create) - Create a bank feed bank account
60-
* [get](docs/sdks/bankfeedaccounts/README.md#get) - List bank feed bank accounts
61-
* [update](docs/sdks/bankfeedaccounts/README.md#update) - Update bank feed bank account
60+
* [list](docs/sdks/bankfeedaccounts/README.md#list) - List bank feed bank accounts
61+
* [~~put_bank_feed~~](docs/sdks/bankfeedaccounts/README.md#put_bank_feed) - Create bank feed bank accounts :warning: **Deprecated**
62+
* [~~update~~](docs/sdks/bankfeedaccounts/README.md#update) - Update bank feed bank account :warning: **Deprecated**
6263

6364
### [companies](docs/sdks/companies/README.md)
6465

bankfeeds/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,4 +646,12 @@ Based on:
646646
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
647647
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
648648
### Releases
649-
- [PyPI v0.31.0] https://pypi.org/project/codat-bankfeeds/0.31.0 - bankfeeds
649+
- [PyPI v0.31.0] https://pypi.org/project/codat-bankfeeds/0.31.0 - bankfeeds
650+
651+
## 2023-07-04 00:20:34
652+
### Changes
653+
Based on:
654+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
655+
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
656+
### Releases
657+
- [PyPI v0.31.1] https://pypi.org/project/codat-bankfeeds/0.31.1 - bankfeeds

bankfeeds/docs/models/operations/getbankfeedsrequest.md renamed to bankfeeds/docs/models/operations/listbankfeedsrequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetBankFeedsRequest
1+
# ListBankFeedsRequest
22

33

44
## Fields
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ListBankFeedsResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `bank_feed_accounts` | list[[shared.BankFeedAccount](../../models/shared/bankfeedaccount.md)] | :heavy_minus_sign: | Success |
9+
| `content_type` | *str* | :heavy_check_mark: | N/A |
10+
| `status_code` | *int* | :heavy_check_mark: | N/A |
11+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |
12+
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | Your API request was not properly authorized. |
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# PutBankFeedRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
8+
| `request_body` | list[[shared.BankFeedAccount](../../models/shared/bankfeedaccount.md)] | :heavy_minus_sign: | N/A | |
9+
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
10+
| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |

bankfeeds/docs/models/operations/getbankfeedsresponse.md renamed to bankfeeds/docs/models/operations/putbankfeedresponse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# GetBankFeedsResponse
1+
# PutBankFeedResponse
22

33

44
## Fields

bankfeeds/docs/sdks/bankaccounttransactions/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ Bank feed bank accounts
1212

1313
## create
1414

15-
The *Create bank account transactions* endpoint creates new [bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) for a given company's connection.
15+
The *Create bank account transactions* endpoint creates new [bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) for a given company's connection.
1616

17-
[Bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
17+
[Bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) are records of monetary amounts that have moved in and out of an SMB's bank account.
1818

1919
**Integration-specific behaviour**
2020

21-
Required data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/accounting-api#/operations/get-create-bankTransactions-model).
21+
Required data may vary by integration. To see what data to post, first call [Get create bank transaction model](https://docs.codat.io/bank-feeds-api#/operations/get-create-bankTransactions-model).
2222

2323
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankTransactions) for integrations that support creating a bank account transactions.
2424

@@ -97,9 +97,9 @@ if res.create_bank_transactions_response is not None:
9797

9898
## get
9999

100-
The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) for a given company and integration.
100+
The *Get create bank account transactions model* endpoint returns the expected data for the request payload when creating [bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) for a given company and integration.
101101

102-
[Bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
102+
[Bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) are records of monetary amounts that have moved in and out of an SMB's bank account.
103103

104104
**Integration-specific behaviour**
105105

@@ -147,9 +147,9 @@ if res.push_option is not None:
147147

148148
## list
149149

150-
The *List account bank transactions* endpoint returns a list of [bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) for a given company's connection.
150+
The *List account bank transactions* endpoint returns a list of [bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) for a given company's connection.
151151

152-
[Bank account transactions](https://docs.codat.io/accounting-api#/schemas/BankTransactions) are records of money that has moved in and out of an SMB's bank account.
152+
[Bank account transactions](https://docs.codat.io/bank-feeds-api#/schemas/BankTransactions) are records of monetary amounts that have moved in and out of an SMB's bank account.
153153

154154
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/accounting?view=tab-by-data-type&dataType=bankTransactions) for integrations that support listing bank transactions.
155155

bankfeeds/docs/sdks/bankfeedaccounts/README.md

Lines changed: 109 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ Bank feed bank accounts
77
### Available Operations
88

99
* [create](#create) - Create a bank feed bank account
10-
* [get](#get) - List bank feed bank accounts
11-
* [update](#update) - Update bank feed bank account
10+
* [list](#list) - List bank feed bank accounts
11+
* [~~put_bank_feed~~](#put_bank_feed) - Create bank feed bank accounts :warning: **Deprecated**
12+
* [~~update~~](#update) - Update bank feed bank account :warning: **Deprecated**
1213

1314
## create
1415

@@ -62,9 +63,13 @@ if res.bank_feed_account is not None:
6263
**[operations.CreateBankFeedResponse](../../models/operations/createbankfeedresponse.md)**
6364

6465

65-
## get
66+
## list
67+
68+
The *List bank feed bank accounts* endpoint returns a list of [bank feed accounts](https://docs.codat.io/bank-feeds-api#/schemas/BankFeedAccount) for a given company's connection.
69+
70+
[Bank feed accounts](https://docs.codat.io/bank-feeds-api#/schemas/BankFeedAccount) are the bank's bank account from which transactions are synced into the accounting platform.
71+
6672

67-
Get BankFeed BankAccounts for a single data source connected to a single company.
6873

6974
### Example Usage
7075

@@ -78,33 +83,115 @@ s = codatbankfeeds.CodatBankFeeds(
7883
),
7984
)
8085

81-
req = operations.GetBankFeedsRequest(
86+
req = operations.ListBankFeedsRequest(
8287
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
8388
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
8489
)
8590

86-
res = s.bank_feed_accounts.get(req)
91+
res = s.bank_feed_accounts.list(req)
8792

8893
if res.bank_feed_accounts is not None:
8994
# handle response
9095
```
9196

9297
### Parameters
9398

94-
| Parameter | Type | Required | Description |
95-
| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
96-
| `request` | [operations.GetBankFeedsRequest](../../models/operations/getbankfeedsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
97-
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
99+
| Parameter | Type | Required | Description |
100+
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
101+
| `request` | [operations.ListBankFeedsRequest](../../models/operations/listbankfeedsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
102+
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
98103

99104

100105
### Response
101106

102-
**[operations.GetBankFeedsResponse](../../models/operations/getbankfeedsresponse.md)**
107+
**[operations.ListBankFeedsResponse](../../models/operations/listbankfeedsresponse.md)**
103108

104109

105-
## update
110+
## ~~put_bank_feed~~
106111

107-
Update a single BankFeed BankAccount for a single data source connected to a single company.
112+
Put BankFeed BankAccounts for a single data source connected to a single company.
113+
114+
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible.
115+
116+
### Example Usage
117+
118+
```python
119+
import codatbankfeeds
120+
from codatbankfeeds.models import operations, shared
121+
122+
s = codatbankfeeds.CodatBankFeeds(
123+
security=shared.Security(
124+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
125+
),
126+
)
127+
128+
req = operations.PutBankFeedRequest(
129+
request_body=[
130+
shared.BankFeedAccount(
131+
account_name='perferendis',
132+
account_number='magni',
133+
account_type='assumenda',
134+
balance=3698.08,
135+
currency='GBP',
136+
feed_start_date='2022-10-23T00:00:00.000Z',
137+
id='a94bb4f6-3c96-49e9-a3ef-a77dfb14cd66',
138+
modified_date='2022-10-23T00:00:00.000Z',
139+
sort_code='accusamus',
140+
status='non',
141+
),
142+
shared.BankFeedAccount(
143+
account_name='occaecati',
144+
account_number='enim',
145+
account_type='accusamus',
146+
balance=9654.17,
147+
currency='EUR',
148+
feed_start_date='2022-10-23T00:00:00.000Z',
149+
id='ba88f3a6-6997-4074-ba44-69b6e2141959',
150+
modified_date='2022-10-23T00:00:00.000Z',
151+
sort_code='sint',
152+
status='accusantium',
153+
),
154+
shared.BankFeedAccount(
155+
account_name='mollitia',
156+
account_number='reiciendis',
157+
account_type='mollitia',
158+
balance=3209.97,
159+
currency='USD',
160+
feed_start_date='2022-10-23T00:00:00.000Z',
161+
id='e2516fe4-c8b7-411e-9b7f-d2ed028921cd',
162+
modified_date='2022-10-23T00:00:00.000Z',
163+
sort_code='maxime',
164+
status='ea',
165+
),
166+
],
167+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
168+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
169+
)
170+
171+
res = s.bank_feed_accounts.put_bank_feed(req)
172+
173+
if res.bank_feed_accounts is not None:
174+
# handle response
175+
```
176+
177+
### Parameters
178+
179+
| Parameter | Type | Required | Description |
180+
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ |
181+
| `request` | [operations.PutBankFeedRequest](../../models/operations/putbankfeedrequest.md) | :heavy_check_mark: | The request object to use for the request. |
182+
| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. |
183+
184+
185+
### Response
186+
187+
**[operations.PutBankFeedResponse](../../models/operations/putbankfeedresponse.md)**
188+
189+
190+
## ~~update~~
191+
192+
The *Update bank feed bank account* endpoint updates a single bank feed bank account for a single data source connected to a single company.
193+
194+
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible.
108195
109196
### Example Usage
110197

@@ -120,18 +207,18 @@ s = codatbankfeeds.CodatBankFeeds(
120207

121208
req = operations.UpdateBankFeedRequest(
122209
bank_feed_account=shared.BankFeedAccount(
123-
account_name='quos',
124-
account_number='perferendis',
125-
account_type='magni',
126-
balance=8289.4,
127-
currency='USD',
210+
account_name='excepturi',
211+
account_number='odit',
212+
account_type='ea',
213+
balance=332.22,
214+
currency='GBP',
128215
feed_start_date='2022-10-23T00:00:00.000Z',
129-
id='2a94bb4f-63c9-469e-9a3e-fa77dfb14cd6',
216+
id='b576b0d5-f0d3-40c5-bbb2-587053202c73',
130217
modified_date='2022-10-23T00:00:00.000Z',
131-
sort_code='laborum',
132-
status='accusamus',
218+
sort_code='nostrum',
219+
status='hic',
133220
),
134-
account_id='13d946f0-c5d5-42bc-b092-97ece17923ab',
221+
account_id='EILBDVJVNUAGVKRQ',
135222
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
136223
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
137224
)

bankfeeds/docs/sdks/companies/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ req = operations.ListCompaniesRequest(
155155
order_by='-modifiedDate',
156156
page=1,
157157
page_size=100,
158-
query='occaecati',
158+
query='omnis',
159159
)
160160

161161
res = s.companies.list(req)

0 commit comments

Comments
 (0)