Skip to content

Commit 62a0d20

Browse files
authored
Merge pull request #313 from codatio/speakeasy-sdk-regen-1694604566
chore: speakeasy sdk regeneration - Generate Banking library
2 parents 30a2606 + 87ed27d commit 62a0d20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+407
-365
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# This allows generated code to be indexed correctly
2+
*.py linguist-generated=false

previous-versions/banking/README.md

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,65 @@
33
Use Codat's API to connect to your SMB customer's banks and pull up-to-date standardized account and transaction data from their bank accounts via our partner providers.
44

55
<!-- Start SDK Installation -->
6-
replace me
6+
## SDK Installation
7+
8+
```bash
9+
pip install codat-banking
10+
```
711
<!-- End SDK Installation -->
812

913
## Example Usage
1014
<!-- Start SDK Example Usage -->
11-
replace me
15+
16+
17+
```python
18+
import codatbanking
19+
from codatbanking.models import operations, shared
20+
21+
s = codatbanking.CodatBanking(
22+
security=shared.Security(
23+
auth_header="Basic BASE_64_ENCODED(API_KEY)",
24+
),
25+
)
26+
27+
req = operations.ListAccountBalancesRequest(
28+
company_id='8a210b68-6988-11ed-a1eb-0242ac120002',
29+
connection_id='2e9d2c44-f675-40ba-8049-353bfcb5e171',
30+
order_by='-modifiedDate',
31+
page=1,
32+
page_size=100,
33+
query='corrupti',
34+
)
35+
36+
res = s.account_balances.list(req)
37+
38+
if res.account_balances is not None:
39+
# handle response
40+
```
1241
<!-- End SDK Example Usage -->
1342

1443
<!-- Start SDK Available Operations -->
15-
replace me
44+
## Available Resources and Operations
45+
46+
47+
### [account_balances](docs/sdks/accountbalances/README.md)
48+
49+
* [list](docs/sdks/accountbalances/README.md#list) - List account balances
50+
51+
### [accounts](docs/sdks/accounts/README.md)
52+
53+
* [get](docs/sdks/accounts/README.md#get) - Get account
54+
* [list](docs/sdks/accounts/README.md#list) - List accounts
55+
56+
### [transaction_categories](docs/sdks/transactioncategories/README.md)
57+
58+
* [get](docs/sdks/transactioncategories/README.md#get) - Get transaction category
59+
* [list](docs/sdks/transactioncategories/README.md#list) - List transaction categories
60+
61+
### [transactions](docs/sdks/transactions/README.md)
62+
63+
* [get](docs/sdks/transactions/README.md#get) - Get bank transaction
64+
* [list](docs/sdks/transactions/README.md#list) - List transactions
65+
* [~~list_bank_transactions~~](docs/sdks/transactions/README.md#list_bank_transactions) - List banking transactions :warning: **Deprecated** Use `list` instead.
1666
<!-- End SDK Available Operations -->
1767
### Library generated by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)

previous-versions/banking/RELEASES.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,4 +510,24 @@ Based on:
510510
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
511511
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
512512
### Releases
513-
- [PyPI v0.27.1] https://pypi.org/project/codat-banking/0.27.1 - banking
513+
- [PyPI v0.27.1] https://pypi.org/project/codat-banking/0.27.1 - banking
514+
515+
## 2023-09-13 11:29:22
516+
### Changes
517+
Based on:
518+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
519+
- Speakeasy CLI 1.82.5 (2.108.3) https://github.com/speakeasy-api/speakeasy
520+
### Generated
521+
- [python v0.1.0] previous-versions/banking
522+
### Releases
523+
- [PyPI v0.1.0] https://pypi.org/project/codat-banking/0.1.0 - previous-versions/banking
524+
525+
## 2023-09-13 15:20:06
526+
### Changes
527+
Based on:
528+
- OpenAPI Doc 3.0.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
529+
- Speakeasy CLI 1.83.2 (2.109.3) https://github.com/speakeasy-api/speakeasy
530+
### Generated
531+
- [python v0.2.0] previous-versions/banking
532+
### Releases
533+
- [PyPI v0.2.0] https://pypi.org/project/codat-banking/0.2.0 - previous-versions/banking

previous-versions/banking/USAGE.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<!-- Start SDK Example Usage -->
2+
3+
24
```python
35
import codatbanking
4-
from codatbanking.models import operations
6+
from codatbanking.models import operations, shared
57

68
s = codatbanking.CodatBanking(
79
security=shared.Security(

previous-versions/banking/docs/models/operations/listaccountbalances409applicationjson.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

previous-versions/banking/docs/models/operations/listaccountbalancesresponse.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
8-
| `account_balances` | [Optional[shared.AccountBalances]](../../models/shared/accountbalances.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-
| `list_account_balances_409_application_json_object` | [Optional[ListAccountBalances409ApplicationJSON]](../../models/operations/listaccountbalances409applicationjson.md) | :heavy_minus_sign: | The data type's dataset has not been requested or is still syncing. |
13-
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `account_balances` | [Optional[shared.AccountBalances]](../../models/shared/accountbalances.md) | :heavy_minus_sign: | Success |
9+
| `content_type` | *str* | :heavy_check_mark: | N/A |
10+
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
11+
| `status_code` | *int* | :heavy_check_mark: | N/A |
12+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |

previous-versions/banking/docs/models/operations/listaccounts409applicationjson.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

previous-versions/banking/docs/models/operations/listaccountsresponse.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@
33

44
## Fields
55

6-
| Field | Type | Required | Description |
7-
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
8-
| `accounts` | [Optional[shared.Accounts]](../../models/shared/accounts.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-
| `list_accounts_409_application_json_object` | [Optional[ListAccounts409ApplicationJSON]](../../models/operations/listaccounts409applicationjson.md) | :heavy_minus_sign: | The data type's dataset has not been requested or is still syncing. |
13-
| `schema` | [Optional[shared.Schema]](../../models/shared/schema.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
6+
| Field | Type | Required | Description |
7+
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
8+
| `accounts` | [Optional[shared.Accounts]](../../models/shared/accounts.md) | :heavy_minus_sign: | Success |
9+
| `content_type` | *str* | :heavy_check_mark: | N/A |
10+
| `error_message` | [Optional[shared.ErrorMessage]](../../models/shared/errormessage.md) | :heavy_minus_sign: | Your `query` parameter was not correctly formed |
11+
| `status_code` | *int* | :heavy_check_mark: | N/A |
12+
| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | N/A |

previous-versions/banking/docs/models/operations/listtransactioncategories409applicationjson.md

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)