OpenAPI client for Cloudbeds Accounting API.
Project description
Cloudbeds Accounting
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The cloudbeds_accounting package is automatically generated by the OpenAPI Generator project:
- API version: v0
- Package version: 1.6.0
- Generator version: 7.11.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.8+
Installation & Usage
This python library package is generated without supporting files like setup.py or requirements files
To be able to use it, you will need these dependencies in your own package that uses this library:
- urllib3 >= 1.25.3, < 3.0.0
- python-dateutil >= 2.8.2
- pydantic >= 2
- typing-extensions >= 4.7.1
Getting Started
In your own code, to use this library to connect and interact with Cloudbeds Accounting, you can run the following:
import cloudbeds_accounting
from cloudbeds_accounting.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.cloudbeds-stage.com
# See configuration.py for a list of all supported configuration parameters.
configuration = cloudbeds_accounting.Configuration(
host = "https://api.cloudbeds-stage.com"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization (JWT): bearerAuth
configuration = cloudbeds_accounting.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with cloudbeds_accounting.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = cloudbeds_accounting.AccountsReceivableLedgerApi(api_client)
x_property_id = 56 # int | Property id
accounts_receivable_ledger_id = 56 # int | Accounts Receivable ID
reservation_id = 56 # int | Reservation ID
try:
api_response = api_instance.delete_accounts_receivable_ledger_reservation_balance_transfer(x_property_id, accounts_receivable_ledger_id, reservation_id)
print("The response of AccountsReceivableLedgerApi->delete_accounts_receivable_ledger_reservation_balance_transfer:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling AccountsReceivableLedgerApi->delete_accounts_receivable_ledger_reservation_balance_transfer: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to https://api.cloudbeds-stage.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AccountsReceivableLedgerApi | delete_accounts_receivable_ledger_reservation_balance_transfer | DELETE /accounting/v1.0/accounts-receivable-ledgers/{accountsReceivableLedgerId}/reservation/{reservationId}/balance-transfer | |
| AccountsReceivableLedgerApi | get_accounts_receivable_ledger_by_id | GET /accounting/v1.0/accounts-receivable-ledgers/{accountsReceivableLedgerId} | |
| AccountsReceivableLedgerApi | get_accounts_receivable_ledger_reservation_balance_transfer | GET /accounting/v1.0/accounts-receivable-ledgers/reservation/{reservationId}/balance-transfer | |
| AccountsReceivableLedgerApi | get_accounts_receivable_ledger_totals | GET /accounting/v1.0/accounts-receivable-ledgers/totals | |
| AccountsReceivableLedgerApi | get_accounts_receivable_ledger_transactions | GET /accounting/v1.0/accounts-receivable-ledgers/{accountsReceivableLedgerId}/transactions | |
| AccountsReceivableLedgerApi | get_accounts_receivable_ledgers | GET /accounting/v1.0/accounts-receivable-ledgers | |
| AccountsReceivableLedgerApi | patch_accounts_receivable_ledger | PATCH /accounting/v1.0/accounts-receivable-ledgers | |
| AccountsReceivableLedgerApi | post_accounts_receivable_ledger | POST /accounting/v1.0/accounts-receivable-ledgers | |
| AccountsReceivableLedgerApi | post_accounts_receivable_ledger_group_balance_transfer | POST /accounting/v1.0/accounts-receivable-ledgers/{accountsReceivableLedgerId}/group-profile/{groupProfileId}/balance-transfer | |
| AccountsReceivableLedgerApi | post_accounts_receivable_ledger_reservation_balance_transfer | POST /accounting/v1.0/accounts-receivable-ledgers/{accountsReceivableLedgerId}/reservation/{reservationId}/balance-transfer | |
| CustomGeneralLedgerCodesApi | get_custom_general_ledger_codes | GET /accounting/v1.0/custom-general-ledger-codes | |
| CustomGeneralLedgerCodesApi | put_custom_general_ledger_codes | PUT /accounting/v1.0/custom-general-ledger-codes | |
| CustomTransactionCodesApi | get_custom_transaction_codes | GET /accounting/v1.0/custom-transaction-codes | |
| CustomTransactionCodesApi | initialize_custom_transaction_codes | POST /accounting/v1.0/custom-transaction-codes/initialize | |
| CustomTransactionCodesApi | put_custom_transaction_codes | PUT /accounting/v1.0/custom-transaction-codes | |
| DepositsApi | get_deposit_balance | GET /accounting/v1.0/deposits/balance | |
| DepositsApi | get_deposit_transactions | GET /accounting/v1.0/deposits/transactions | |
| DepositsApi | post_deposits_transfer | POST /accounting/v1.0/deposits/transfer | |
| InternalTransactionCodesApi | get_internal_transaction_codes | GET /accounting/v1.0/internal-transaction-codes | |
| SettingsApi | get_settings | GET /accounting/v1.0/settings | |
| SettingsApi | patch_settings | PATCH /accounting/v1.0/settings | |
| SourceBalanceApi | get_source_balance_by_source | GET /accounting/v1.0/source-balances/{sourceKind}/{sourceId} | |
| TransactionsApi | list_pending_transactions | POST /accounting/v1.0/pending-transactions | |
| TransactionsApi | list_transactions | POST /accounting/v1.0/transactions | |
| TrialBalanceApi | calculate_trial_balance | POST /accounting/v1.0/trial-balance/configuration/calculate | |
| TrialBalanceApi | get_trial_balance_configuration | GET /accounting/v1.0/trial-balance/configuration | |
| TrialBalanceApi | get_trial_balance_report | GET /accounting/v1.0/trial-balance/report | |
| TrialBalanceApi | is_trial_balance_configured | GET /accounting/v1.0/trial-balance/configuration/status | |
| TrialBalanceApi | set_trial_balance | POST /accounting/v1.0/trial-balance/configuration |
Documentation For Models
- Account
- AccountCategory
- AccountsReceivableLedgerPaginated
- AccountsReceivableLedgerPatchRequest
- AccountsReceivableLedgerPostRequest
- AccountsReceivableLedgerReservationBalanceTransferResponse
- AccountsReceivableLedgerReservationBalanceTransferResponseTransaction
- AccountsReceivableLedgerResponse
- AccountsReceivableLedgerStatus
- AccountsReceivableLedgerTotalsResponse
- AccountsReceivableTransactionPaginated
- AccountsReceivableTransactionResponse
- AccountsReceivableTransactionResponseTransferDetails
- Action
- AndOrGroup
- AndOrGroupAndInner
- ApiAccountingError
- ApiErrorCode
- AsyncEventResponse
- BalanceBreakdownItem
- ChartOfAccountType
- ConditionalOperator
- CustomGeneralLedgerCodeModel
- CustomGeneralLedgerCodesUpdateRequest
- CustomTransactionCodesModel
- CustomTransactionCodesUpdateModel
- CustomTransactionCodesUpdateRequest
- DepositBalanceResponse
- DepositConsumptionEnum
- ExtendedTransactionPaginated
- ExtendedTransactionResponse
- FieldFilter
- Filters
- GetAccountsReceivableLedgerTotalsFilterParameter
- GetAccountsReceivableLedgerTransactionsFilterParameter
- GetAccountsReceivableLedgersFilterParameter
- GetDepositTransactionsFilterParameter
- GroupProfileTransferDetails
- InternalTransactionCodeGroupEnum
- InternalTransactionCodeResponse
- InternalTransactionCodesListResponse
- ListPendingTransactionsPaginated
- ListPendingTransactionsRequest
- ListTransactionsPaginated
- ListTransactionsRequest
- LogicalOperator
- PageDetails
- PostGroupProfileBalanceTransferRequest
- ReservationStatus
- ReservationTransferDetails
- SettingPatchRequest
- SettingResponse
- SettingValues
- Sort
- SortDirection
- SourceBalanceResponse
- SourceKind
- TransactionItemGroup
- TransactionItemMappingModel
- TransactionItemMappingRequest
- TransactionItemMappingUpdateModel
- TransactionResponse
- TransactionState
- TransferDepositPostRequest
- TrialBalanceConfigurationStatusResponse
- TrialBalanceReportCodeInfo
- TrialBalanceReportGuestLedger
- TrialBalanceReportLedgerBalances
- TrialBalanceReportResponse
- TrialBalanceReportSummary
- TrialBalanceRequest
- TrialBalanceResponse
- UserModel
Documentation For Authorization
Authentication schemes defined for the API:
bearerAuth
- Type: Bearer authentication (JWT)
Author
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloudbeds_accounting-1.6.0.tar.gz.
File metadata
- Download URL: cloudbeds_accounting-1.6.0.tar.gz
- Upload date:
- Size: 73.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eff525b28bebe066ba7c9f09163c6731edcc1737647162818aeed852053f38ee
|
|
| MD5 |
8751b38c1ad16b214e9d1b99d4ee490b
|
|
| BLAKE2b-256 |
1d585632192f0a4f3c728060576970606e334410ea75cd49d6f9173abb276b38
|
Provenance
The following attestation bundles were made for cloudbeds_accounting-1.6.0.tar.gz:
Publisher:
publish.yaml on cloudbeds/cloudbeds-accounting-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloudbeds_accounting-1.6.0.tar.gz -
Subject digest:
eff525b28bebe066ba7c9f09163c6731edcc1737647162818aeed852053f38ee - Sigstore transparency entry: 908569222
- Sigstore integration time:
-
Permalink:
cloudbeds/cloudbeds-accounting-python@462915fb8ec78304b894cd0d2fe19b5c34d75913 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cloudbeds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@462915fb8ec78304b894cd0d2fe19b5c34d75913 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file cloudbeds_accounting-1.6.0-py3-none-any.whl.
File metadata
- Download URL: cloudbeds_accounting-1.6.0-py3-none-any.whl
- Upload date:
- Size: 224.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fe9da4f6e637954dc0347d46e4dc9951caa7e17bff46cdd6d173dfce0fb37425
|
|
| MD5 |
792c8eaf82373fca8f4ac2ee2f5b7ecb
|
|
| BLAKE2b-256 |
894eaacc796ab0269b0fac15ea4a68408243ffa3eb559a3028abbc787ac93491
|
Provenance
The following attestation bundles were made for cloudbeds_accounting-1.6.0-py3-none-any.whl:
Publisher:
publish.yaml on cloudbeds/cloudbeds-accounting-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cloudbeds_accounting-1.6.0-py3-none-any.whl -
Subject digest:
fe9da4f6e637954dc0347d46e4dc9951caa7e17bff46cdd6d173dfce0fb37425 - Sigstore transparency entry: 908569235
- Sigstore integration time:
-
Permalink:
cloudbeds/cloudbeds-accounting-python@462915fb8ec78304b894cd0d2fe19b5c34d75913 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/cloudbeds
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@462915fb8ec78304b894cd0d2fe19b5c34d75913 -
Trigger Event:
workflow_dispatch
-
Statement type: