Skip to content

Commit 63dccd2

Browse files
committed
ci: regenerated with OpenAPI Doc 2.1.0, Speakeay CLI 1.50.1
1 parent f921580 commit 63dccd2

33 files changed

Lines changed: 656 additions & 124 deletions

bankfeeds/README.md

Lines changed: 12 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -22,40 +22,19 @@ s = codatbankfeeds.CodatBankFeeds(
2222
),
2323
)
2424

25-
req = operations.CreateBankTransactionsRequest(
26-
create_bank_transactions=shared.CreateBankTransactions(
27-
account_id='corrupti',
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-
],
25+
req = operations.CreateBankAccountMappingRequest(
26+
bank_feed_account_mapping=shared.BankFeedAccountMapping(
27+
feed_start_date='2022-10-23T00:00:00.000Z',
28+
source_account_id='provident',
29+
target_account_id='distinctio',
4830
),
49-
account_id='EILBDVJVNUAGVKRQ',
50-
allow_sync_on_push_complete=False,
5131
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
5232
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
53-
timeout_in_minutes=958950,
5433
)
5534

56-
res = s.bank_account_transactions.create(req)
35+
res = s.bank_account_mapping.create(req)
5736

58-
if res.create_bank_transactions_response is not None:
37+
if res.account_mapping_result is not None:
5938
# handle response
6039
```
6140
<!-- End SDK Example Usage -->
@@ -64,6 +43,11 @@ if res.create_bank_transactions_response is not None:
6443
## Available Resources and Operations
6544

6645

46+
### [bank_account_mapping](docs/sdks/bankaccountmapping/README.md)
47+
48+
* [create](docs/sdks/bankaccountmapping/README.md#create) - Create bank feed bank account mapping
49+
* [get](docs/sdks/bankaccountmapping/README.md#get) - List bank feed account mappings
50+
6751
### [bank_account_transactions](docs/sdks/bankaccounttransactions/README.md)
6852

6953
* [create](docs/sdks/bankaccounttransactions/README.md#create) - Create bank transactions

bankfeeds/RELEASES.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,4 +606,12 @@ Based on:
606606
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
607607
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
608608
### Releases
609-
- [PyPI v0.28.0] https://pypi.org/project/codat-bankfeeds/0.28.0 - bankfeeds
609+
- [PyPI v0.28.0] https://pypi.org/project/codat-bankfeeds/0.28.0 - bankfeeds
610+
611+
## 2023-06-24 00:21:24
612+
### Changes
613+
Based on:
614+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
615+
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
616+
### Releases
617+
- [PyPI v0.28.1] https://pypi.org/project/codat-bankfeeds/0.28.1 - bankfeeds

bankfeeds/USAGE.md

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,19 @@ s = codatbankfeeds.CodatBankFeeds(
99
),
1010
)
1111

12-
req = operations.CreateBankTransactionsRequest(
13-
create_bank_transactions=shared.CreateBankTransactions(
14-
account_id='corrupti',
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-
],
12+
req = operations.CreateBankAccountMappingRequest(
13+
bank_feed_account_mapping=shared.BankFeedAccountMapping(
14+
feed_start_date='2022-10-23T00:00:00.000Z',
15+
source_account_id='provident',
16+
target_account_id='distinctio',
3517
),
36-
account_id='EILBDVJVNUAGVKRQ',
37-
allow_sync_on_push_complete=False,
3818
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
3919
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
40-
timeout_in_minutes=958950,
4120
)
4221

43-
res = s.bank_account_transactions.create(req)
22+
res = s.bank_account_mapping.create(req)
4423

45-
if res.create_bank_transactions_response is not None:
24+
if res.account_mapping_result is not None:
4625
# handle response
4726
```
4827
<!-- End SDK Example Usage -->
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# CreateBankAccountMappingRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
8+
| `bank_feed_account_mapping` | [Optional[shared.BankFeedAccountMapping]](../../models/shared/bankfeedaccountmapping.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 |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# CreateBankAccountMappingResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `account_mapping_result` | [Optional[shared.AccountMappingResult]](../../models/shared/accountmappingresult.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: | The request made is not valid. |
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# GetBankAccountMappingRequest
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description | Example |
7+
| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ |
8+
| `company_id` | *str* | :heavy_check_mark: | N/A | 8a210b68-6988-11ed-a1eb-0242ac120002 |
9+
| `connection_id` | *str* | :heavy_check_mark: | N/A | 2e9d2c44-f675-40ba-8049-353bfcb5e171 |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# GetBankAccountMappingResponse
2+
3+
4+
## Fields
5+
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `bank_feed_mappings` | [Optional[shared.BankFeedMappings]](../../models/shared/bankfeedmappings.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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# AccountMappingResult
2+
3+
The result from POSTing a Bank Account mapping.
4+
5+
6+
## Fields
7+
8+
| Field | Type | Required | Description |
9+
| -------------------------------------- | -------------------------------------- | -------------------------------------- | -------------------------------------- |
10+
| `error` | *Optional[str]* | :heavy_minus_sign: | Error returned during the post request |
11+
| `status` | *Optional[str]* | :heavy_minus_sign: | Status of the POST request |
12+
| `source_account_id` | *Optional[str]* | :heavy_minus_sign: | Unique ID for the source account |
13+
| `target_account_id` | *Optional[str]* | :heavy_minus_sign: | Unique ID for the target account |

0 commit comments

Comments
 (0)