Skip to content

Commit

Permalink
release(sdk): v2.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
NumaryBot committed Feb 1, 2024
1 parent 084111d commit 374b155
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: de03809d-f847-4782-904f-d4ae23562d80
id: 21c298d1-8589-49b9-96cf-318090a21860
management:
docChecksum: 74fe1770e44fe93b529c51a38e5a1792
docVersion: v2.0.0-rc.1
docChecksum: 7dfe7c153410dab21130617af7d17ee2
docVersion: v2.0.0-rc.2
speakeasyVersion: internal
generationVersion: 2.237.2
releaseVersion: v2.0.0-rc.1
configChecksum: acef941f1effe7ca2e875df2367166e3
releaseVersion: v2.0.0-rc.2
configChecksum: 95bd8ec4025e96d6b92fe5c1048a0779
features:
python:
constsAndDefaults: 0.1.2
Expand Down
3 changes: 2 additions & 1 deletion docs/models/operations/getbalancesaggregatedrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
| Field | Type | Required | Description | Example |
| ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- |
| `address` | *Optional[str]* | :heavy_minus_sign: | Filter balances involving given account, either as source or destination. | users:001 |
| `ledger` | *str* | :heavy_check_mark: | Name of the ledger. | ledger001 |
| `ledger` | *str* | :heavy_check_mark: | Name of the ledger. | ledger001 |
| `use_insertion_date` | *Optional[bool]* | :heavy_minus_sign: | Use insertion date instead of effective date | |
3 changes: 2 additions & 1 deletion docs/models/operations/v2getbalancesaggregatedrequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
| -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- |
| `request_body` | Dict[str, *Any*] | :heavy_minus_sign: | N/A | |
| `ledger` | *str* | :heavy_check_mark: | Name of the ledger. | ledger001 |
| `pit` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | |
| `pit` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | |
| `use_insertion_date` | *Optional[bool]* | :heavy_minus_sign: | Use insertion date instead of effective date | |
1 change: 1 addition & 0 deletions docs/models/shared/bankaccount.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
| `iban` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `id` | *str* | :heavy_check_mark: | N/A |
| `metadata` | Dict[str, *str*] | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `provider` | *Optional[str]* | :heavy_minus_sign: | N/A |
| `swift_bic_code` | *Optional[str]* | :heavy_minus_sign: | N/A |
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ generation:
comments: {}
telemetryEnabled: false
python:
version: v2.0.0-rc.1
version: v2.0.0-rc.2
author: Formance
clientServerStatusCodesAsErrors: true
description: Python Client SDK Generated by Speakeasy
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setuptools.setup(
name="formance-sdk-python",
version="v2.0.0-rc.1",
version="v2.0.0-rc.2",
author="Formance",
description="Python Client SDK Generated by Speakeasy",
long_description=long_description,
Expand Down
2 changes: 2 additions & 0 deletions src/sdk/models/operations/getbalancesaggregated.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class GetBalancesAggregatedRequest:
r"""Name of the ledger."""
address: Optional[str] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'address', 'style': 'form', 'explode': True }})
r"""Filter balances involving given account, either as source or destination."""
use_insertion_date: Optional[bool] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'use_insertion_date', 'style': 'form', 'explode': True }})
r"""Use insertion date instead of effective date"""



Expand Down
2 changes: 2 additions & 0 deletions src/sdk/models/operations/v2getbalancesaggregated.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ class V2GetBalancesAggregatedRequest:
r"""Name of the ledger."""
pit: Optional[datetime] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'pit', 'style': 'form', 'explode': True }})
request_body: Optional[Dict[str, Any]] = dataclasses.field(default=None, metadata={'request': { 'media_type': 'application/json' }})
use_insertion_date: Optional[bool] = dataclasses.field(default=None, metadata={'query_param': { 'field_name': 'use_insertion_date', 'style': 'form', 'explode': True }})
r"""Use insertion date instead of effective date"""



Expand Down
1 change: 1 addition & 0 deletions src/sdk/models/shared/bankaccount.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ class BankAccount:
country: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('country') }})
created_at: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdAt'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }})
id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }})
name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }})
account_id: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountID'), 'exclude': lambda f: f is None }})
account_number: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('accountNumber'), 'exclude': lambda f: f is None }})
iban: Optional[str] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('iban'), 'exclude': lambda f: f is None }})
Expand Down
6 changes: 3 additions & 3 deletions src/sdk/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class SDKConfiguration:
server_url: str = ''
server_idx: int = 0
language: str = 'python'
openapi_doc_version: str = 'v2.0.0-rc.1'
sdk_version: str = 'v2.0.0-rc.1'
openapi_doc_version: str = 'v2.0.0-rc.2'
sdk_version: str = 'v2.0.0-rc.2'
gen_version: str = '2.237.2'
user_agent: str = 'speakeasy-sdk/python v2.0.0-rc.1 2.237.2 v2.0.0-rc.1 formance-sdk-python'
user_agent: str = 'speakeasy-sdk/python v2.0.0-rc.2 2.237.2 v2.0.0-rc.2 formance-sdk-python'
retry_config: RetryConfig = None

def get_server_details(self) -> Tuple[str, Dict[str, str]]:
Expand Down

0 comments on commit 374b155

Please sign in to comment.