Skip to content

Commit 7791431

Browse files
authored
Merge pull request #67 from codatio/speakeasy-sdk-regen-1679503925
chore: speakeasy sdk regeneration - Generate Bank Feeds SDK
2 parents a9b71ed + 5a6272b commit 7791431

File tree

10 files changed

+39
-36
lines changed

10 files changed

+39
-36
lines changed

bankfeeds/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ req = operations.CreateBankFeedRequest(
2626
operations.CreateBankFeedBankFeedBankAccount(
2727
account_name="deserunt",
2828
account_number="porro",
29-
account_type="debit",
29+
account_type="nulla",
3030
balance=6027.63,
3131
currency="vero",
3232
feed_start_date="perspiciatis",
@@ -38,7 +38,7 @@ req = operations.CreateBankFeedRequest(
3838
operations.CreateBankFeedBankFeedBankAccount(
3939
account_name="eum",
4040
account_number="iusto",
41-
account_type="unknown",
41+
account_type="ullam",
4242
balance=8917.73,
4343
currency="inventore",
4444
feed_start_date="sapiente",
@@ -50,7 +50,7 @@ req = operations.CreateBankFeedRequest(
5050
operations.CreateBankFeedBankFeedBankAccount(
5151
account_name="vel",
5252
account_number="non",
53-
account_type="credit",
53+
account_type="deleniti",
5454
balance=5680.45,
5555
currency="reprehenderit",
5656
feed_start_date="molestiae",

bankfeeds/RELEASES.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,4 +142,28 @@ Based on:
142142
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
143143
- Speakeasy CLI 1.14.2 (2.13.0) https://github.com/speakeasy-api/speakeasy
144144
### Releases
145-
- [PyPI v0.6.1] https://pypi.org/project/codat-bankfeeds/0.6.1 - bankfeeds
145+
- [PyPI v0.6.1] https://pypi.org/project/codat-bankfeeds/0.6.1 - bankfeeds
146+
147+
## 2023-03-22 16:52:02
148+
### Changes
149+
Based on:
150+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
151+
- Speakeasy CLI 1.14.2 (2.13.0) https://github.com/speakeasy-api/speakeasy
152+
### Releases
153+
- [PyPI v0.6.2] https://pypi.org/project/codat-bankfeeds/0.6.2 - bankfeeds
154+
155+
## 2023-03-22 17:14:06
156+
### Changes
157+
Based on:
158+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
159+
- Speakeasy CLI 1.14.2 (2.13.0) https://github.com/speakeasy-api/speakeasy
160+
### Releases
161+
- [PyPI v0.6.3] https://pypi.org/project/codat-bankfeeds/0.6.3 - bankfeeds
162+
163+
## 2023-03-22 17:20:17
164+
### Changes
165+
Based on:
166+
- OpenAPI Doc 2.1.0 https://raw.githubusercontent.com/codatio/oas/main/yaml/Codat-Bank-Feeds.yaml
167+
- Speakeasy CLI 1.14.2 (2.13.0) https://github.com/speakeasy-api/speakeasy
168+
### Releases
169+
- [PyPI v0.6.4] https://pypi.org/project/codat-bankfeeds/0.6.4 - bankfeeds

bankfeeds/USAGE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ req = operations.CreateBankFeedRequest(
1515
operations.CreateBankFeedBankFeedBankAccount(
1616
account_name="deserunt",
1717
account_number="porro",
18-
account_type="debit",
18+
account_type="nulla",
1919
balance=6027.63,
2020
currency="vero",
2121
feed_start_date="perspiciatis",
@@ -27,7 +27,7 @@ req = operations.CreateBankFeedRequest(
2727
operations.CreateBankFeedBankFeedBankAccount(
2828
account_name="eum",
2929
account_number="iusto",
30-
account_type="unknown",
30+
account_type="ullam",
3131
balance=8917.73,
3232
currency="inventore",
3333
feed_start_date="sapiente",
@@ -39,7 +39,7 @@ req = operations.CreateBankFeedRequest(
3939
operations.CreateBankFeedBankFeedBankAccount(
4040
account_name="vel",
4141
account_number="non",
42-
account_type="credit",
42+
account_type="deleniti",
4343
balance=5680.45,
4444
currency="reprehenderit",
4545
feed_start_date="molestiae",

bankfeeds/gen.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
configVersion: 1.0.0
22
management:
3-
docChecksum: ca947f67007593bd67c81628b58151d0
3+
docChecksum: 1ed514449bdcd93605a0261742bd8730
44
docVersion: 2.1.0
55
speakeasyVersion: 1.14.2
66
generationVersion: 2.13.0
@@ -10,7 +10,7 @@ generation:
1010
tagNamespacingDisabled: true
1111
sdkFlattening: true
1212
python:
13-
version: 0.6.1
13+
version: 0.6.4
1414
author: Speakeasy
1515
description: Python Client SDK Generated by Speakeasy
1616
packageName: codat-bankfeeds

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.6.1",
13+
version="0.6.4",
1414
author="Speakeasy",
1515
description="Python Client SDK Generated by Speakeasy",
1616
long_description=long_description,

bankfeeds/src/codat/models/operations/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@
77
from .post_bank_transactions import *
88
from .update_bank_feed import *
99

10-
__all__ = ["CreateBankFeedBankFeedBankAccount","CreateBankFeedBankFeedBankAccountAccountTypeEnum","CreateBankFeedRequest","CreateBankFeedResponse","GetBankAccountPushOptionsPushOption","GetBankAccountPushOptionsPushOptionOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsRequest","GetBankAccountPushOptionsResponse","GetBankFeedsBankFeedBankAccount","GetBankFeedsBankFeedBankAccountAccountTypeEnum","GetBankFeedsRequest","GetBankFeedsResponse","ListBankAccountTransactionsLinks","ListBankAccountTransactionsLinksLinks","ListBankAccountTransactionsLinksLinksCurrent","ListBankAccountTransactionsLinksLinksNext","ListBankAccountTransactionsLinksLinksPrevious","ListBankAccountTransactionsLinksLinksSelf","ListBankAccountTransactionsLinksResults","ListBankAccountTransactionsLinksResultsTransactions","ListBankAccountTransactionsLinksResultsTransactionsTransactionTypeEnum","ListBankAccountTransactionsRequest","ListBankAccountTransactionsResponse","PostBankTransactions200ApplicationJSON","PostBankTransactions200ApplicationJSONChanges","PostBankTransactions200ApplicationJSONChangesPushOperationRecordRef","PostBankTransactions200ApplicationJSONChangesTypeEnum","PostBankTransactions200ApplicationJSONData","PostBankTransactions200ApplicationJSONDataTransactions","PostBankTransactions200ApplicationJSONDataTransactionsTransactionTypeEnum","PostBankTransactions200ApplicationJSONStatusEnum","PostBankTransactions200ApplicationJSONValidation","PostBankTransactions200ApplicationJSONValidationValidationItem","PostBankTransactionsRequest","PostBankTransactionsRequestBody","PostBankTransactionsRequestBodyTransactions","PostBankTransactionsRequestBodyTransactionsTransactionTypeEnum","PostBankTransactionsResponse","UpdateBankFeedBankFeedBankAccount","UpdateBankFeedBankFeedBankAccountAccountTypeEnum","UpdateBankFeedRequest","UpdateBankFeedResponse"]
10+
__all__ = ["CreateBankFeedBankFeedBankAccount","CreateBankFeedRequest","CreateBankFeedResponse","GetBankAccountPushOptionsPushOption","GetBankAccountPushOptionsPushOptionOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionProperty","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoice","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionChoiceOptionTypeEnum","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushValidationInfo","GetBankAccountPushOptionsPushOptionPushOptionPropertyPushValidationInfoPushFieldValidation","GetBankAccountPushOptionsRequest","GetBankAccountPushOptionsResponse","GetBankFeedsBankFeedBankAccount","GetBankFeedsRequest","GetBankFeedsResponse","ListBankAccountTransactionsLinks","ListBankAccountTransactionsLinksLinks","ListBankAccountTransactionsLinksLinksCurrent","ListBankAccountTransactionsLinksLinksNext","ListBankAccountTransactionsLinksLinksPrevious","ListBankAccountTransactionsLinksLinksSelf","ListBankAccountTransactionsLinksResults","ListBankAccountTransactionsLinksResultsTransactions","ListBankAccountTransactionsLinksResultsTransactionsTransactionTypeEnum","ListBankAccountTransactionsRequest","ListBankAccountTransactionsResponse","PostBankTransactions200ApplicationJSON","PostBankTransactions200ApplicationJSONChanges","PostBankTransactions200ApplicationJSONChangesPushOperationRecordRef","PostBankTransactions200ApplicationJSONChangesTypeEnum","PostBankTransactions200ApplicationJSONData","PostBankTransactions200ApplicationJSONDataTransactions","PostBankTransactions200ApplicationJSONDataTransactionsTransactionTypeEnum","PostBankTransactions200ApplicationJSONStatusEnum","PostBankTransactions200ApplicationJSONValidation","PostBankTransactions200ApplicationJSONValidationValidationItem","PostBankTransactionsRequest","PostBankTransactionsRequestBody","PostBankTransactionsRequestBodyTransactions","PostBankTransactionsRequestBodyTransactionsTransactionTypeEnum","PostBankTransactionsResponse","UpdateBankFeedBankFeedBankAccount","UpdateBankFeedRequest","UpdateBankFeedResponse"]

bankfeeds/src/codat/models/operations/create_bank_feed.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,8 @@
55
import requests as requests_http
66
from codat import utils
77
from dataclasses_json import Undefined, dataclass_json
8-
from enum import Enum
98
from typing import Optional
109

11-
class CreateBankFeedBankFeedBankAccountAccountTypeEnum(str, Enum):
12-
r"""The type of bank account e.g. Credit"""
13-
UNKNOWN = "unknown"
14-
CREDIT = "credit"
15-
DEBIT = "debit"
16-
1710

1811
@dataclass_json(undefined=Undefined.EXCLUDE)
1912
@dataclasses.dataclass
@@ -26,7 +19,7 @@ class CreateBankFeedBankFeedBankAccount:
2619
r"""The bank account name"""
2720
account_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountNumber'), 'exclude': lambda f: f is None }})
2821
r"""The account number"""
29-
account_type: Optional[CreateBankFeedBankFeedBankAccountAccountTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountType'), 'exclude': lambda f: f is None }})
22+
account_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountType'), 'exclude': lambda f: f is None }})
3023
r"""The type of bank account e.g. Credit"""
3124
balance: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance'), 'exclude': lambda f: f is None }})
3225
r"""The latest balance for the bank account"""

bankfeeds/src/codat/models/operations/get_bank_feeds.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import requests as requests_http
66
from codat import utils
77
from dataclasses_json import Undefined, dataclass_json
8-
from enum import Enum
98
from typing import Optional
109

1110

@@ -15,12 +14,6 @@ class GetBankFeedsRequest:
1514
company_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'companyId', 'style': 'simple', 'explode': False }})
1615
connection_id: str = dataclasses.field(metadata={'path_param': { 'field_name': 'connectionId', 'style': 'simple', 'explode': False }})
1716

18-
class GetBankFeedsBankFeedBankAccountAccountTypeEnum(str, Enum):
19-
r"""The type of bank account e.g. Credit"""
20-
UNKNOWN = "unknown"
21-
CREDIT = "credit"
22-
DEBIT = "debit"
23-
2417

2518
@dataclass_json(undefined=Undefined.EXCLUDE)
2619
@dataclasses.dataclass
@@ -33,7 +26,7 @@ class GetBankFeedsBankFeedBankAccount:
3326
r"""The bank account name"""
3427
account_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountNumber'), 'exclude': lambda f: f is None }})
3528
r"""The account number"""
36-
account_type: Optional[GetBankFeedsBankFeedBankAccountAccountTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountType'), 'exclude': lambda f: f is None }})
29+
account_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountType'), 'exclude': lambda f: f is None }})
3730
r"""The type of bank account e.g. Credit"""
3831
balance: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance'), 'exclude': lambda f: f is None }})
3932
r"""The latest balance for the bank account"""

bankfeeds/src/codat/models/operations/update_bank_feed.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,8 @@
55
import requests as requests_http
66
from codat import utils
77
from dataclasses_json import Undefined, dataclass_json
8-
from enum import Enum
98
from typing import Optional
109

11-
class UpdateBankFeedBankFeedBankAccountAccountTypeEnum(str, Enum):
12-
r"""The type of bank account e.g. Credit"""
13-
UNKNOWN = "unknown"
14-
CREDIT = "credit"
15-
DEBIT = "debit"
16-
1710

1811
@dataclass_json(undefined=Undefined.EXCLUDE)
1912
@dataclasses.dataclass
@@ -26,7 +19,7 @@ class UpdateBankFeedBankFeedBankAccount:
2619
r"""The bank account name"""
2720
account_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountNumber'), 'exclude': lambda f: f is None }})
2821
r"""The account number"""
29-
account_type: Optional[UpdateBankFeedBankFeedBankAccountAccountTypeEnum] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountType'), 'exclude': lambda f: f is None }})
22+
account_type: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountType'), 'exclude': lambda f: f is None }})
3023
r"""The type of bank account e.g. Credit"""
3124
balance: Optional[float] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('balance'), 'exclude': lambda f: f is None }})
3225
r"""The latest balance for the bank account"""

bankfeeds/src/codat/sdk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Codat:
2525
_security_client: requests_http.Session
2626
_server_url: str = SERVERS[0]
2727
_language: str = "python"
28-
_sdk_version: str = "0.6.1"
28+
_sdk_version: str = "0.6.4"
2929
_gen_version: str = "2.13.0"
3030

3131
def __init__(self,

0 commit comments

Comments
 (0)