Skip to content

Commit 43db433

Browse files
author
github-actions
committed
Bump version to 1.4.0
1 parent 46e4aea commit 43db433

19 files changed

+43
-19
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
44
The `cloudbeds_accounting` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
55

66
- API version: v0
7-
- Package version: 1.3.0
7+
- Package version: 1.4.0
88
- Generator version: 7.11.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.3.0
1+
1.4.0

cloudbeds_accounting/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.3.0"
17+
__version__ = "1.4.0"
1818

1919
# import apis into sdk package
2020
from cloudbeds_accounting.api.accounts_receivable_ledger_api import AccountsReceivableLedgerApi

cloudbeds_accounting/api/transactions_api.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def list_transactions(
5959
) -> ListTransactionsPaginated:
6060
"""list_transactions
6161
62-
Supported fields for filtering: - id - internal_code - custom_code - transaction_datetime - customer_id - source_id - source_kind - external_relation_id - external_relation_kind - origin_id - routed_from - created_at - parent_id - folio_id - custom_code - account_category - chart_of_account_type Supported fields for sorting: - id - internal_code - transaction_datetime - source_id - created_at Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00z\", \"field\": \"transaction_datetime\" }, { \"or\": [ { \"operator\": \"equals\", \"value\": \"1\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"2\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"3\", \"field\": \"customer_id\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } ```
62+
Supported fields for filtering: - account_category - chart_of_account_type - created_at - Same as `transaction_datetime` - customer_id - custom_code - external_relation_id - external_relation_kind - folio_id - id - internal_code - origin_id - parent_id - routed_from - source_id - source_identifier - source_kind - transaction_datetime - trial_balance_id Supported fields for sorting: - created_at - Same as `transaction_datetime` - id - internal_code - source_id - transaction_datetime Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00Z\", \"field\": \"transaction_datetime\" }, { \"operator\": \"equals\", \"value\": \"123\", \"field\": \"source_id\" }, { \"operator\": \"equals\", \"value\": \"RESERVATION\", \"field\": \"source_kind\" }, { \"or\": [ { \"operator\": \"in\", \"value\": [\"1\", \"2\", \"3\"], \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"9000\", \"field\": \"internal_code\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } The API has certain constraints for filters so that the system is able to efficiently query the data. Filters must include on of the following: - filter by 'id' with condition 'equals' or 'in' - filter by both 'source_id' and 'source_kind' - filter by both 'external_relation_id' and 'external_relation_kind' - filter by transaction_datetime ```
6363
6464
:param x_property_id: Property id (required)
6565
:type x_property_id: int
@@ -131,7 +131,7 @@ def list_transactions_with_http_info(
131131
) -> ApiResponse[ListTransactionsPaginated]:
132132
"""list_transactions
133133
134-
Supported fields for filtering: - id - internal_code - custom_code - transaction_datetime - customer_id - source_id - source_kind - external_relation_id - external_relation_kind - origin_id - routed_from - created_at - parent_id - folio_id - custom_code - account_category - chart_of_account_type Supported fields for sorting: - id - internal_code - transaction_datetime - source_id - created_at Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00z\", \"field\": \"transaction_datetime\" }, { \"or\": [ { \"operator\": \"equals\", \"value\": \"1\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"2\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"3\", \"field\": \"customer_id\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } ```
134+
Supported fields for filtering: - account_category - chart_of_account_type - created_at - Same as `transaction_datetime` - customer_id - custom_code - external_relation_id - external_relation_kind - folio_id - id - internal_code - origin_id - parent_id - routed_from - source_id - source_identifier - source_kind - transaction_datetime - trial_balance_id Supported fields for sorting: - created_at - Same as `transaction_datetime` - id - internal_code - source_id - transaction_datetime Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00Z\", \"field\": \"transaction_datetime\" }, { \"operator\": \"equals\", \"value\": \"123\", \"field\": \"source_id\" }, { \"operator\": \"equals\", \"value\": \"RESERVATION\", \"field\": \"source_kind\" }, { \"or\": [ { \"operator\": \"in\", \"value\": [\"1\", \"2\", \"3\"], \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"9000\", \"field\": \"internal_code\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } The API has certain constraints for filters so that the system is able to efficiently query the data. Filters must include on of the following: - filter by 'id' with condition 'equals' or 'in' - filter by both 'source_id' and 'source_kind' - filter by both 'external_relation_id' and 'external_relation_kind' - filter by transaction_datetime ```
135135
136136
:param x_property_id: Property id (required)
137137
:type x_property_id: int
@@ -203,7 +203,7 @@ def list_transactions_without_preload_content(
203203
) -> RESTResponseType:
204204
"""list_transactions
205205
206-
Supported fields for filtering: - id - internal_code - custom_code - transaction_datetime - customer_id - source_id - source_kind - external_relation_id - external_relation_kind - origin_id - routed_from - created_at - parent_id - folio_id - custom_code - account_category - chart_of_account_type Supported fields for sorting: - id - internal_code - transaction_datetime - source_id - created_at Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00z\", \"field\": \"transaction_datetime\" }, { \"or\": [ { \"operator\": \"equals\", \"value\": \"1\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"2\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"3\", \"field\": \"customer_id\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } ```
206+
Supported fields for filtering: - account_category - chart_of_account_type - created_at - Same as `transaction_datetime` - customer_id - custom_code - external_relation_id - external_relation_kind - folio_id - id - internal_code - origin_id - parent_id - routed_from - source_id - source_identifier - source_kind - transaction_datetime - trial_balance_id Supported fields for sorting: - created_at - Same as `transaction_datetime` - id - internal_code - source_id - transaction_datetime Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00Z\", \"field\": \"transaction_datetime\" }, { \"operator\": \"equals\", \"value\": \"123\", \"field\": \"source_id\" }, { \"operator\": \"equals\", \"value\": \"RESERVATION\", \"field\": \"source_kind\" }, { \"or\": [ { \"operator\": \"in\", \"value\": [\"1\", \"2\", \"3\"], \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"9000\", \"field\": \"internal_code\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } The API has certain constraints for filters so that the system is able to efficiently query the data. Filters must include on of the following: - filter by 'id' with condition 'equals' or 'in' - filter by both 'source_id' and 'source_kind' - filter by both 'external_relation_id' and 'external_relation_kind' - filter by transaction_datetime ```
207207
208208
:param x_property_id: Property id (required)
209209
:type x_property_id: int

cloudbeds_accounting/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def __init__(
9090
self.default_headers[header_name] = header_value
9191
self.cookie = cookie
9292
# Set default User-Agent.
93-
self.user_agent = 'OpenAPI-Generator/1.3.0/python'
93+
self.user_agent = 'OpenAPI-Generator/1.4.0/python'
9494
self.client_side_validation = configuration.client_side_validation
9595

9696
def __enter__(self):

cloudbeds_accounting/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ def to_debug_report(self) -> str:
504504
"OS: {env}\n"\
505505
"Python Version: {pyversion}\n"\
506506
"Version of the API: v0\n"\
507-
"SDK Package Version: 1.3.0".\
507+
"SDK Package Version: 1.4.0".\
508508
format(env=sys.platform, pyversion=sys.version)
509509

510510
def get_host_settings(self) -> List[HostSetting]:

cloudbeds_accounting/docs/ExtendedTransactionResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
1919
**folio_id** | **str** | Folio ID | [optional]
2020
**state** | **str** | | [optional]
2121
**currency** | **str** | Currency ISO code | [optional]
22+
**currency_scale** | **int** | Number of decimal places for the currency. | [optional]
2223
**reservation_status** | [**ReservationStatus**](ReservationStatus.md) | | [optional]
2324
**posted** | **bool** | Flag to mark if transaction is posted | [optional]
2425
**user** | [**UserModel**](UserModel.md) | | [optional]

cloudbeds_accounting/docs/TransactionResponse.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**custom_transaction_code** | **str** | Custom code for the transaction, managed by Property. | [optional]
1212
**general_ledger_custom_code** | **str** | Custom code for general ledger, managed by Property. | [optional]
1313
**amount** | **float** | Amount of the transaction. | [optional]
14+
**currency_scale** | **int** | Number of decimal places for the currency. | [optional]
1415
**currency** | **str** | Currency (ISO code) applied to the amount of the transaction. | [optional]
1516
**customer_id** | **str** | Id of the user who perform the transaction, also know as guest id. | [optional]
1617
**root_id** | **str** | Root Id of the transaction, it contains the id of the transaction that is related to it. | [optional]
@@ -31,6 +32,8 @@ Name | Type | Description | Notes
3132
**transaction_datetime_property_time** | **datetime** | Date time when the transaction should be created at base on the property timezone. | [optional]
3233
**service_date** | **date** | Date when the posted transaction was created (property time). | [optional]
3334
**created_at** | **datetime** | Date time when the transaction was inserted on the database. (ISO 8601) in UTC | [optional]
35+
**source_identifier** | **str** | If source_kind = RESERVATION, this field will contain a reservation identifier. For a transaction with source_kind = GROUP_PROFILE, this field will contain a group code. For source_king = HOUSE_ACCOUNT it will be null. | [optional]
36+
**sub_source_identifier** | **str** | identifier of a booking room | [optional]
3437

3538
## Example
3639

cloudbeds_accounting/docs/TransactionsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212
1313

1414

15-
Supported fields for filtering: - id - internal_code - custom_code - transaction_datetime - customer_id - source_id - source_kind - external_relation_id - external_relation_kind - origin_id - routed_from - created_at - parent_id - folio_id - custom_code - account_category - chart_of_account_type Supported fields for sorting: - id - internal_code - transaction_datetime - source_id - created_at Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00z\", \"field\": \"transaction_datetime\" }, { \"or\": [ { \"operator\": \"equals\", \"value\": \"1\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"2\", \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"3\", \"field\": \"customer_id\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } ```
15+
Supported fields for filtering: - account_category - chart_of_account_type - created_at - Same as `transaction_datetime` - customer_id - custom_code - external_relation_id - external_relation_kind - folio_id - id - internal_code - origin_id - parent_id - routed_from - source_id - source_identifier - source_kind - transaction_datetime - trial_balance_id Supported fields for sorting: - created_at - Same as `transaction_datetime` - id - internal_code - source_id - transaction_datetime Example request: ``` { \"filters\": { \"and\": [ { \"operator\": \"greater_than_or_equal\", \"value\": \"2019-01-11t08:59:00Z\", \"field\": \"transaction_datetime\" }, { \"operator\": \"equals\", \"value\": \"123\", \"field\": \"source_id\" }, { \"operator\": \"equals\", \"value\": \"RESERVATION\", \"field\": \"source_kind\" }, { \"or\": [ { \"operator\": \"in\", \"value\": [\"1\", \"2\", \"3\"], \"field\": \"customer_id\" }, { \"operator\": \"equals\", \"value\": \"9000\", \"field\": \"internal_code\" } ] } ] }, \"pageToken\": null, \"limit\": 10, \"sort\": [ { \"field\": \"transaction_datetime\", \"direction\": \"asc\" } ] } The API has certain constraints for filters so that the system is able to efficiently query the data. Filters must include on of the following: - filter by 'id' with condition 'equals' or 'in' - filter by both 'source_id' and 'source_kind' - filter by both 'external_relation_id' and 'external_relation_kind' - filter by transaction_datetime ```
1616

1717
### Example
1818

cloudbeds_accounting/docs/TrialBalanceReportResponse.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8+
**trial_balance_id** | **str** | | [optional]
89
**summary** | [**TrialBalanceReportSummary**](TrialBalanceReportSummary.md) | | [optional]
910
**ledger_balances** | [**TrialBalanceReportLedgerBalances**](TrialBalanceReportLedgerBalances.md) | | [optional]
1011
**guest_ledger** | [**TrialBalanceReportGuestLedger**](TrialBalanceReportGuestLedger.md) | | [optional]

0 commit comments

Comments
 (0)