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.3.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_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 | |
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
- Action
- AndOrGroup
- AndOrGroupAndInner
- ApiAccountingError
- ApiErrorCode
- AsyncEventResponse
- ChartOfAccountType
- ConditionalOperator
- CustomGeneralLedgerCodeModel
- CustomGeneralLedgerCodesUpdateRequest
- CustomTransactionCodesModel
- CustomTransactionCodesUpdateModel
- CustomTransactionCodesUpdateRequest
- DepositBalanceResponse
- ExtendedTransactionPaginated
- ExtendedTransactionResponse
- FieldFilter
- Filters
- GetAccountsReceivableLedgerTotalsFilterParameter
- GetAccountsReceivableLedgerTransactionsFilterParameter
- GetAccountsReceivableLedgersFilterParameter
- GetDepositTransactionsFilterParameter
- InternalTransactionCodeGroupEnum
- InternalTransactionCodeResponse
- InternalTransactionCodesListResponse
- ListTransactionsPaginated
- ListTransactionsRequest
- LogicalOperator
- PageDetails
- ReservationStatus
- Sort
- SortDirection
- SourceKind
- 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
File details
Details for the file cloudbeds_accounting-1.3.0.tar.gz
.
File metadata
- Download URL: cloudbeds_accounting-1.3.0.tar.gz
- Upload date:
- Size: 61.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce9eb1067d1b73bce34dd07ef91903a290f2a2a4b8caaff1b1e46f3f2148be61 |
|
MD5 | c890eef31374dfa6486c465b85a34554 |
|
BLAKE2b-256 | 5fc2a9c540970d4a4aaf41998e717aefd2dd76d416dfbfeec42a4851e5af709e |
Provenance
The following attestation bundles were made for cloudbeds_accounting-1.3.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.3.0.tar.gz
- Subject digest:
ce9eb1067d1b73bce34dd07ef91903a290f2a2a4b8caaff1b1e46f3f2148be61
- Sigstore transparency entry: 173748544
- Sigstore integration time:
- Permalink:
cloudbeds/cloudbeds-accounting-python@b4fa02e51adf8bf77c49e4b443a42ad1dd15dee2
- 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@b4fa02e51adf8bf77c49e4b443a42ad1dd15dee2
- Trigger Event:
workflow_dispatch
- Statement type:
File details
Details for the file cloudbeds_accounting-1.3.0-py3-none-any.whl
.
File metadata
- Download URL: cloudbeds_accounting-1.3.0-py3-none-any.whl
- Upload date:
- Size: 179.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45fac18e2db201c558450c5501785145029097e48a6991a8e0dbb9ee847b1cf9 |
|
MD5 | 09a9e640268ce6a58c18c2d40273a970 |
|
BLAKE2b-256 | fcaf9cd97e74be300fb40e2cd3cdd05654739a7ab3ab0200f34dc91ac5f74160 |
Provenance
The following attestation bundles were made for cloudbeds_accounting-1.3.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.3.0-py3-none-any.whl
- Subject digest:
45fac18e2db201c558450c5501785145029097e48a6991a8e0dbb9ee847b1cf9
- Sigstore transparency entry: 173748547
- Sigstore integration time:
- Permalink:
cloudbeds/cloudbeds-accounting-python@b4fa02e51adf8bf77c49e4b443a42ad1dd15dee2
- 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@b4fa02e51adf8bf77c49e4b443a42ad1dd15dee2
- Trigger Event:
workflow_dispatch
- Statement type: