Skip to content

Commit fd2818b

Browse files
authored
Merge pull request #204 from codatio/speakeasy-sdk-regen-1687219372
chore: speakeasy sdk regeneration - Generate Banking SDK
2 parents e067534 + 4bacdad commit fd2818b

File tree

14 files changed

+193
-27
lines changed

14 files changed

+193
-27
lines changed

banking/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.python-version
2+
.DS_Store
13
venv/
24
src/*.egg-info/
35
__pycache__/

banking/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ if res.account_balances is not None:
5454
### [transaction_categories](docs/sdks/transactioncategories/README.md)
5555

5656
* [get](docs/sdks/transactioncategories/README.md#get) - Get transaction category
57-
* [list](docs/sdks/transactioncategories/README.md#list) - List all transaction categories
57+
* [list](docs/sdks/transactioncategories/README.md#list) - List transaction categories
5858

5959
### [transactions](docs/sdks/transactions/README.md)
6060

banking/RELEASES.md

Lines changed: 81 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,4 +430,84 @@ Based on:
430430
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
431431
- Speakeasy CLI 1.48.0 (2.41.1) https://github.com/speakeasy-api/speakeasy
432432
### Releases
433-
- [PyPI v0.21.1] https://pypi.org/project/codat-banking/0.21.1 - banking
433+
- [PyPI v0.21.1] https://pypi.org/project/codat-banking/0.21.1 - banking
434+
435+
## 2023-06-20 00:02:48
436+
### Changes
437+
Based on:
438+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
439+
- Speakeasy CLI 1.49.0 (2.41.4) https://github.com/speakeasy-api/speakeasy
440+
### Releases
441+
- [PyPI v0.21.2] https://pypi.org/project/codat-banking/0.21.2 - banking
442+
443+
## 2023-06-21 00:02:35
444+
### Changes
445+
Based on:
446+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
447+
- Speakeasy CLI 1.49.1 (2.41.5) https://github.com/speakeasy-api/speakeasy
448+
### Releases
449+
- [PyPI v0.21.3] https://pypi.org/project/codat-banking/0.21.3 - banking
450+
451+
## 2023-06-23 00:02:58
452+
### Changes
453+
Based on:
454+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
455+
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
456+
### Releases
457+
- [PyPI v0.22.0] https://pypi.org/project/codat-banking/0.22.0 - banking
458+
459+
## 2023-06-24 00:03:06
460+
### Changes
461+
Based on:
462+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
463+
- Speakeasy CLI 1.50.1 (2.43.2) https://github.com/speakeasy-api/speakeasy
464+
### Releases
465+
- [PyPI v0.22.1] https://pypi.org/project/codat-banking/0.22.1 - banking
466+
467+
## 2023-06-27 00:03:00
468+
### Changes
469+
Based on:
470+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
471+
- Speakeasy CLI 1.51.1 (2.50.2) https://github.com/speakeasy-api/speakeasy
472+
### Releases
473+
- [PyPI v0.23.0] https://pypi.org/project/codat-banking/0.23.0 - banking
474+
475+
## 2023-06-30 00:02:33
476+
### Changes
477+
Based on:
478+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
479+
- Speakeasy CLI 1.51.3 (2.52.2) https://github.com/speakeasy-api/speakeasy
480+
### Releases
481+
- [PyPI v0.24.0] https://pypi.org/project/codat-banking/0.24.0 - banking
482+
483+
## 2023-07-01 00:03:29
484+
### Changes
485+
Based on:
486+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
487+
- Speakeasy CLI 1.52.0 (2.55.0) https://github.com/speakeasy-api/speakeasy
488+
### Releases
489+
- [PyPI v0.25.0] https://pypi.org/project/codat-banking/0.25.0 - banking
490+
491+
## 2023-07-06 00:03:05
492+
### Changes
493+
Based on:
494+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
495+
- Speakeasy CLI 1.52.2 (2.57.2) https://github.com/speakeasy-api/speakeasy
496+
### Releases
497+
- [PyPI v0.26.0] https://pypi.org/project/codat-banking/0.26.0 - banking
498+
499+
## 2023-07-07 00:02:45
500+
### Changes
501+
Based on:
502+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
503+
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
504+
### Releases
505+
- [PyPI v0.27.0] https://pypi.org/project/codat-banking/0.27.0 - banking
506+
507+
## 2023-07-07 09:23:01
508+
### Changes
509+
Based on:
510+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Banking.yaml
511+
- Speakeasy CLI 1.53.0 (2.58.0) https://github.com/speakeasy-api/speakeasy
512+
### Releases
513+
- [PyPI v0.27.1] https://pypi.org/project/codat-banking/0.27.1 - banking

banking/docs/sdks/accountbalances/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,12 @@ Balances for a bank account including end-of-day batch balance or running balanc
1010

1111
## list
1212

13-
Gets a list of balances for a bank account including end-of-day batch balance or running balances per transaction.
13+
The *List account balances* endpoint returns a list of [account balances](https://docs.codat.io/banking-api#/schemas/AccountBalance) for a given company's connection.
14+
15+
[Account balances](https://docs.codat.io/banking-api#/schemas/AccountBalance) are balances for a bank account, including end-of-day batch balance or running balances per transaction.
16+
17+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
18+
1419

1520
### Example Usage
1621

banking/docs/sdks/accounts/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,14 @@ Where payments are made or received, and bank transactions are recorded.
1111

1212
## get
1313

14-
Gets a specified bank account for a given company
14+
The *Get account* endpoint returns a single account for a given accountId.
15+
16+
[Accounts](https://docs.codat.io/banking-api#/schemas/Account) are financial accounts maintained by a bank or other financial institution.
17+
18+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/banking?view=tab-by-data-type&dataType=banking-accounts) for integrations that support getting a specific account.
19+
20+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
21+
1522

1623
### Example Usage
1724

@@ -52,7 +59,12 @@ if res.account is not None:
5259

5360
## list
5461

55-
Gets a list of all bank accounts of the SMB, with rich data like balances, account numbers and institutions holdingthe accounts.
62+
The *List accounts* endpoint returns a list of [accounts](https://docs.codat.io/banking-api#/schemas/Account) for a given company's connection.
63+
64+
[Accounts](https://docs.codat.io/banking-api#/schemas/Account) are financial accounts maintained by a bank or other financial institution.
65+
66+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
67+
5668

5769
### Example Usage
5870

banking/docs/sdks/transactioncategories/README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ Hierarchical categories associated with a transaction for greater contextual mea
77
### Available Operations
88

99
* [get](#get) - Get transaction category
10-
* [list](#list) - List all transaction categories
10+
* [list](#list) - List transaction categories
1111

1212
## get
1313

14-
Gets a specified bank transaction category for a given company
14+
The *Get transaction category* endpoint returns a single transaction category for a given transactionCategoryId.
15+
16+
[Transaction categories](https://docs.codat.io/banking-api#/schemas/TransactionCategory) are associated with a transaction to provide greater contextual meaning to transaction activity.
17+
18+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/banking?view=tab-by-data-type&dataType=banking-transactionCategories) for integrations that support getting a specific transaction category.
19+
20+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
21+
1522

1623
### Example Usage
1724

@@ -52,7 +59,12 @@ if res.transaction_category is not None:
5259

5360
## list
5461

55-
Gets a list of hierarchical categories associated with a transaction for greater contextual meaning to transactionactivity.
62+
The *List transaction categories* endpoint returns a list of [transaction categories](https://docs.codat.io/banking-api#/schemas/TransactionCategory) for a given company's connection.
63+
64+
[Transaction categories](https://docs.codat.io/banking-api#/schemas/TransactionCategory) are associated with a transaction to provide greater contextual meaning to transaction activity.
65+
66+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
67+
5668

5769
### Example Usage
5870

banking/docs/sdks/transactions/README.md

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ An immutable source of up-to-date information on income and expenditure.
1212

1313
## get
1414

15-
Gets a specified bank transaction for a given company
15+
The *Get transaction* endpoint returns a single transaction for a given transactionId.
16+
17+
[Transactions](https://docs.codat.io/banking-api#/schemas/Transaction) provide an immutable source of up-to-date information on income and expenditure.
18+
19+
Check out our [coverage explorer](https://knowledge.codat.io/supported-features/banking?view=tab-by-data-type&dataType=banking-transactions) for integrations that support getting a specific transaction.
20+
21+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
22+
1623

1724
### Example Usage
1825

@@ -53,7 +60,12 @@ if res.transaction is not None:
5360

5461
## list
5562

56-
Gets a list of transactions incurred by a bank account.
63+
The *List transactions* endpoint returns a list of [transactions](https://docs.codat.io/banking-api#/schemas/Transaction) for a given company's connection.
64+
65+
[Transactions](https://docs.codat.io/banking-api#/schemas/Transaction) provide an immutable source of up-to-date information on income and expenditure.
66+
67+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
68+
5769

5870
### Example Usage
5971

@@ -97,7 +109,12 @@ if res.transactions is not None:
97109

98110
## ~~list_bank_transactions~~
99111

100-
Gets a list of transactions incurred by a company across all bank accounts.
112+
The *List transactions* endpoint returns a list of [transactions](https://docs.codat.io/banking-api#/schemas/Transaction) for a given company's connection.
113+
114+
[Transactions](https://docs.codat.io/banking-api#/schemas/Transaction) provide an immutable source of up-to-date information on income and expenditure.
115+
116+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
117+
101118

102119
> :warning: **DEPRECATED**: this method will be removed in a future release, please migrate away from it as soon as possible. Use `list` instead.
103120

banking/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: 3f747faf879509eae1fc952d2ae48108
3+
docChecksum: fc8c7e4872770024e52b188ffa277ed5
44
docVersion: 2.1.0
5-
speakeasyVersion: 1.48.0
6-
generationVersion: 2.41.1
5+
speakeasyVersion: 1.53.0
6+
generationVersion: 2.58.0
77
generation:
88
sdkClassName: CodatBanking
99
singleTagPerOp: false
1010
telemetryEnabled: true
1111
python:
12-
version: 0.21.1
12+
version: 0.27.1
1313
author: Speakeasy
1414
description: Python Client SDK Generated by Speakeasy
1515
maxMethodParams: 0

banking/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-banking",
13-
version="0.21.1",
13+
version="0.27.1",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

banking/src/codatbanking/account_balances.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ def __init__(self, sdk_config: SDKConfiguration) -> None:
1515

1616
def list(self, request: operations.ListAccountBalancesRequest, retries: Optional[utils.RetryConfig] = None) -> operations.ListAccountBalancesResponse:
1717
r"""List account balances
18-
Gets a list of balances for a bank account including end-of-day batch balance or running balances per transaction.
18+
The *List account balances* endpoint returns a list of [account balances](https://docs.codat.io/banking-api#/schemas/AccountBalance) for a given company's connection.
19+
20+
[Account balances](https://docs.codat.io/banking-api#/schemas/AccountBalance) are balances for a bank account, including end-of-day batch balance or running balances per transaction.
21+
22+
Before using this endpoint, you must have [retrieved data for the company](https://docs.codat.io/codat-api#/operations/refresh-company-data).
1923
"""
2024
base_url = utils.template_url(*self.sdk_configuration.get_server_details())
2125

0 commit comments

Comments
 (0)