diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 23912fd11..16f5e5724 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,5 +16,5 @@ jobs: uses: ncipollo/release-action@v1 with: commit: main - tag: 0.0.2 + tag: 0.0.3 diff --git a/README.md b/README.md index 483cc08a5..0a046b455 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,10 @@ Read the full documentation of the CrmApi [here](./docs/apis/CrmApi.md). Read the full documentation of the CustomerSupportApi [here](./docs/apis/CustomerSupportApi.md). +### EcommerceApi + +Read the full documentation of the EcommerceApi [here](./docs/apis/EcommerceApi.md). + ### FileStorageApi Read the full documentation of the FileStorageApi [here](./docs/apis/FileStorageApi.md). @@ -122,6 +126,10 @@ Read the full documentation of the FileStorageApi [here](./docs/apis/FileStorage Read the full documentation of the HrisApi [here](./docs/apis/HrisApi.md). +### IssueTrackingApi + +Read the full documentation of the IssueTrackingApi [here](./docs/apis/IssueTrackingApi.md). + ### LeadApi Read the full documentation of the LeadApi [here](./docs/apis/LeadApi.md). @@ -176,11 +184,13 @@ from apideck.model.accounting_customer import AccountingCustomer from apideck.model.bad_request_response import BadRequestResponse from apideck.model.balance_sheet_filter import BalanceSheetFilter from apideck.model.bill import Bill +from apideck.model.bills_sort import BillsSort from apideck.model.create_bill_response import CreateBillResponse from apideck.model.create_credit_note_response import CreateCreditNoteResponse from apideck.model.create_customer_response import CreateCustomerResponse from apideck.model.create_invoice_item_response import CreateInvoiceItemResponse from apideck.model.create_invoice_response import CreateInvoiceResponse +from apideck.model.create_journal_entry_response import CreateJournalEntryResponse from apideck.model.create_ledger_account_response import CreateLedgerAccountResponse from apideck.model.create_payment_response import CreatePaymentResponse from apideck.model.create_supplier_response import CreateSupplierResponse @@ -191,6 +201,7 @@ from apideck.model.delete_bill_response import DeleteBillResponse from apideck.model.delete_credit_note_response import DeleteCreditNoteResponse from apideck.model.delete_customer_response import DeleteCustomerResponse from apideck.model.delete_invoice_response import DeleteInvoiceResponse +from apideck.model.delete_journal_entry_response import DeleteJournalEntryResponse from apideck.model.delete_ledger_account_response import DeleteLedgerAccountResponse from apideck.model.delete_payment_response import DeletePaymentResponse from apideck.model.delete_supplier_response import DeleteSupplierResponse @@ -207,6 +218,8 @@ from apideck.model.get_invoice_item_response import GetInvoiceItemResponse from apideck.model.get_invoice_items_response import GetInvoiceItemsResponse from apideck.model.get_invoice_response import GetInvoiceResponse from apideck.model.get_invoices_response import GetInvoicesResponse +from apideck.model.get_journal_entries_response import GetJournalEntriesResponse +from apideck.model.get_journal_entry_response import GetJournalEntryResponse from apideck.model.get_ledger_account_response import GetLedgerAccountResponse from apideck.model.get_ledger_accounts_response import GetLedgerAccountsResponse from apideck.model.get_payment_response import GetPaymentResponse @@ -220,13 +233,15 @@ from apideck.model.invoice import Invoice from apideck.model.invoice_item import InvoiceItem from apideck.model.invoice_items_filter import InvoiceItemsFilter from apideck.model.invoices_sort import InvoicesSort +from apideck.model.journal_entry import JournalEntry from apideck.model.ledger_account import LedgerAccount from apideck.model.not_found_response import NotFoundResponse -from apideck.model.passthrough import Passthrough +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.payment import Payment from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.profit_and_loss_filter import ProfitAndLossFilter from apideck.model.supplier import Supplier +from apideck.model.suppliers_filter import SuppliersFilter from apideck.model.tax_rate import TaxRate from apideck.model.tax_rates_filter import TaxRatesFilter from apideck.model.unauthorized_response import UnauthorizedResponse @@ -237,6 +252,7 @@ from apideck.model.update_credit_note_response import UpdateCreditNoteResponse from apideck.model.update_customer_response import UpdateCustomerResponse from apideck.model.update_invoice_items_response import UpdateInvoiceItemsResponse from apideck.model.update_invoice_response import UpdateInvoiceResponse +from apideck.model.update_journal_entry_response import UpdateJournalEntryResponse from apideck.model.update_ledger_account_response import UpdateLedgerAccountResponse from apideck.model.update_payment_response import UpdatePaymentResponse from apideck.model.update_supplier_response import UpdateSupplierResponse @@ -266,7 +282,7 @@ with apideck.ApiClient(configuration) as api_client: x_apideck_consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) x_apideck_app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) x_apideck_service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) -pass_through = Passthrough() # Passthrough | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) +pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) filter = BalanceSheetFilter( start_date="2021-01-01", end_date="2021-12-31", @@ -341,6 +357,16 @@ _AccountingApi_ | [**invoices_one**](docs/apis/AccountingApi.md#invoices_one) | _AccountingApi_ | [**invoices_update**](docs/apis/AccountingApi.md#invoices_update) | **PATCH** /accounting/invoices/{id} | Update Invoice | +_AccountingApi_ | [**journal_entries_add**](docs/apis/AccountingApi.md#journal_entries_add) | **POST** /accounting/journal-entries | Create Journal Entry | + +_AccountingApi_ | [**journal_entries_all**](docs/apis/AccountingApi.md#journal_entries_all) | **GET** /accounting/journal-entries | List Journal Entries | + +_AccountingApi_ | [**journal_entries_delete**](docs/apis/AccountingApi.md#journal_entries_delete) | **DELETE** /accounting/journal-entries/{id} | Delete Journal Entry | + +_AccountingApi_ | [**journal_entries_one**](docs/apis/AccountingApi.md#journal_entries_one) | **GET** /accounting/journal-entries/{id} | Get Journal Entry | + +_AccountingApi_ | [**journal_entries_update**](docs/apis/AccountingApi.md#journal_entries_update) | **PATCH** /accounting/journal-entries/{id} | Update Journal Entry | + _AccountingApi_ | [**ledger_accounts_add**](docs/apis/AccountingApi.md#ledger_accounts_add) | **POST** /accounting/ledger-accounts | Create Ledger Account | _AccountingApi_ | [**ledger_accounts_all**](docs/apis/AccountingApi.md#ledger_accounts_all) | **GET** /accounting/ledger-accounts | List Ledger Accounts | @@ -499,6 +525,20 @@ _CustomerSupportApi_ | [**customers_one**](docs/apis/CustomerSupportApi.md#custo _CustomerSupportApi_ | [**customers_update**](docs/apis/CustomerSupportApi.md#customers_update) | **PATCH** /customer-support/customers/{id} | Update Customer Support Customer | +_EcommerceApi_ | [**customers_all2**](docs/apis/EcommerceApi.md#customers_all2) | **GET** /ecommerce/customers | List Customers | + +_EcommerceApi_ | [**customers_one2**](docs/apis/EcommerceApi.md#customers_one2) | **GET** /ecommerce/customers/{id} | Get Customer | + +_EcommerceApi_ | [**orders_all**](docs/apis/EcommerceApi.md#orders_all) | **GET** /ecommerce/orders | List Orders | + +_EcommerceApi_ | [**orders_one**](docs/apis/EcommerceApi.md#orders_one) | **GET** /ecommerce/orders/{id} | Get Order | + +_EcommerceApi_ | [**products_all**](docs/apis/EcommerceApi.md#products_all) | **GET** /ecommerce/products | List Products | + +_EcommerceApi_ | [**products_one**](docs/apis/EcommerceApi.md#products_one) | **GET** /ecommerce/products/{id} | Get Product | + +_EcommerceApi_ | [**stores_one**](docs/apis/EcommerceApi.md#stores_one) | **GET** /ecommerce/store | Get Store | + _FileStorageApi_ | [**drive_groups_add**](docs/apis/FileStorageApi.md#drive_groups_add) | **POST** /file-storage/drive-groups | Create DriveGroup | _FileStorageApi_ | [**drive_groups_all**](docs/apis/FileStorageApi.md#drive_groups_all) | **GET** /file-storage/drive-groups | List DriveGroups | @@ -529,6 +569,8 @@ _FileStorageApi_ | [**files_one**](docs/apis/FileStorageApi.md#files_one) | **GE _FileStorageApi_ | [**files_search**](docs/apis/FileStorageApi.md#files_search) | **POST** /file-storage/files/search | Search Files | +_FileStorageApi_ | [**files_update**](docs/apis/FileStorageApi.md#files_update) | **PATCH** /file-storage/files/{id} | Rename or move File | + _FileStorageApi_ | [**folders_add**](docs/apis/FileStorageApi.md#folders_add) | **POST** /file-storage/folders | Create Folder | _FileStorageApi_ | [**folders_copy**](docs/apis/FileStorageApi.md#folders_copy) | **POST** /file-storage/folders/{id}/copy | Copy Folder | @@ -593,10 +635,6 @@ _HrisApi_ | [**employees_one**](docs/apis/HrisApi.md#employees_one) | **GET** /h _HrisApi_ | [**employees_update**](docs/apis/HrisApi.md#employees_update) | **PATCH** /hris/employees/{id} | Update Employee | -_HrisApi_ | [**jobs_all**](docs/apis/HrisApi.md#jobs_all) | **GET** /hris/jobs/employees/{employee_id} | List Jobs | - -_HrisApi_ | [**jobs_one**](docs/apis/HrisApi.md#jobs_one) | **GET** /hris/jobs/employees/{employee_id}/jobs/{job_id} | One Job | - _HrisApi_ | [**payrolls_all**](docs/apis/HrisApi.md#payrolls_all) | **GET** /hris/payrolls | List Payroll | _HrisApi_ | [**payrolls_one**](docs/apis/HrisApi.md#payrolls_one) | **GET** /hris/payrolls/{payroll_id} | Get Payroll | @@ -611,6 +649,36 @@ _HrisApi_ | [**time_off_requests_one**](docs/apis/HrisApi.md#time_off_requests_o _HrisApi_ | [**time_off_requests_update**](docs/apis/HrisApi.md#time_off_requests_update) | **PATCH** /hris/time-off-requests/{id} | Update Time Off Request | +_IssueTrackingApi_ | [**collection_tags_all**](docs/apis/IssueTrackingApi.md#collection_tags_all) | **GET** /issue-tracking/collections/{collection_id}/tags | List Tags | + +_IssueTrackingApi_ | [**collection_ticket_comments_add**](docs/apis/IssueTrackingApi.md#collection_ticket_comments_add) | **POST** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments | Create Comment | + +_IssueTrackingApi_ | [**collection_ticket_comments_all**](docs/apis/IssueTrackingApi.md#collection_ticket_comments_all) | **GET** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments | List Comments | + +_IssueTrackingApi_ | [**collection_ticket_comments_delete**](docs/apis/IssueTrackingApi.md#collection_ticket_comments_delete) | **DELETE** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Delete Comment | + +_IssueTrackingApi_ | [**collection_ticket_comments_one**](docs/apis/IssueTrackingApi.md#collection_ticket_comments_one) | **GET** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Get Comment | + +_IssueTrackingApi_ | [**collection_ticket_comments_update**](docs/apis/IssueTrackingApi.md#collection_ticket_comments_update) | **PATCH** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Update Comment | + +_IssueTrackingApi_ | [**collection_tickets_add**](docs/apis/IssueTrackingApi.md#collection_tickets_add) | **POST** /issue-tracking/collections/{collection_id}/tickets | Create Ticket | + +_IssueTrackingApi_ | [**collection_tickets_all**](docs/apis/IssueTrackingApi.md#collection_tickets_all) | **GET** /issue-tracking/collections/{collection_id}/tickets | List Tickets | + +_IssueTrackingApi_ | [**collection_tickets_delete**](docs/apis/IssueTrackingApi.md#collection_tickets_delete) | **DELETE** /issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Delete Ticket | + +_IssueTrackingApi_ | [**collection_tickets_one**](docs/apis/IssueTrackingApi.md#collection_tickets_one) | **GET** /issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Get Ticket | + +_IssueTrackingApi_ | [**collection_tickets_update**](docs/apis/IssueTrackingApi.md#collection_tickets_update) | **PATCH** /issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Update Ticket | + +_IssueTrackingApi_ | [**collection_users_all**](docs/apis/IssueTrackingApi.md#collection_users_all) | **GET** /issue-tracking/collections/{collection_id}/users | List Users | + +_IssueTrackingApi_ | [**collection_users_one**](docs/apis/IssueTrackingApi.md#collection_users_one) | **GET** /issue-tracking/collections/{collection_id}/users/{id} | Get user | + +_IssueTrackingApi_ | [**collections_all**](docs/apis/IssueTrackingApi.md#collections_all) | **GET** /issue-tracking/collections | List Collections | + +_IssueTrackingApi_ | [**collections_one**](docs/apis/IssueTrackingApi.md#collections_one) | **GET** /issue-tracking/collections/{collection_id} | Get Collection | + _LeadApi_ | [**leads_add**](docs/apis/LeadApi.md#leads_add) | **POST** /lead/leads | Create lead | _LeadApi_ | [**leads_all**](docs/apis/LeadApi.md#leads_all) | **GET** /lead/leads | List leads | @@ -739,10 +807,16 @@ _VaultApi_ | [**connections_update**](docs/apis/VaultApi.md#connections_update) _VaultApi_ | [**consumer_request_counts_all**](docs/apis/VaultApi.md#consumer_request_counts_all) | **GET** /vault/consumers/{consumer_id}/stats | Consumer request counts | +_VaultApi_ | [**consumers_add**](docs/apis/VaultApi.md#consumers_add) | **POST** /vault/consumers | Create consumer | + _VaultApi_ | [**consumers_all**](docs/apis/VaultApi.md#consumers_all) | **GET** /vault/consumers | Get all consumers | +_VaultApi_ | [**consumers_delete**](docs/apis/VaultApi.md#consumers_delete) | **DELETE** /vault/consumers/{consumer_id} | Delete consumer | + _VaultApi_ | [**consumers_one**](docs/apis/VaultApi.md#consumers_one) | **GET** /vault/consumers/{consumer_id} | Get consumer | +_VaultApi_ | [**consumers_update**](docs/apis/VaultApi.md#consumers_update) | **PATCH** /vault/consumers/{consumer_id} | Update consumer | + _VaultApi_ | [**logs_all**](docs/apis/VaultApi.md#logs_all) | **GET** /vault/logs | Get all consumer request logs | _VaultApi_ | [**sessions_create**](docs/apis/VaultApi.md#sessions_create) | **POST** /vault/sessions | Create Session | @@ -765,6 +839,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [AccountingCustomer](docs/models/AccountingCustomer.md) - [AccountingEventType](docs/models/AccountingEventType.md) + - [ActivitiesFilter](docs/models/ActivitiesFilter.md) - [Activity](docs/models/Activity.md) - [ActivityAttendee](docs/models/ActivityAttendee.md) - [Address](docs/models/Address.md) @@ -780,6 +855,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [ApplicantSocialLinks](docs/models/ApplicantSocialLinks.md) - [ApplicantWebsites](docs/models/ApplicantWebsites.md) - [ApplicantsFilter](docs/models/ApplicantsFilter.md) + - [Assignee](docs/models/Assignee.md) - [AtsActivity](docs/models/AtsActivity.md) - [AtsEventType](docs/models/AtsEventType.md) - [AuthType](docs/models/AuthType.md) @@ -799,8 +875,15 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [Benefit](docs/models/Benefit.md) - [Bill](docs/models/Bill.md) - [BillLineItem](docs/models/BillLineItem.md) + - [BillsSort](docs/models/BillsSort.md) - [Branch](docs/models/Branch.md) - [CashDetails](docs/models/CashDetails.md) + - [Collection](docs/models/Collection.md) + - [CollectionTag](docs/models/CollectionTag.md) + - [CollectionTicketComment](docs/models/CollectionTicketComment.md) + - [CollectionUser](docs/models/CollectionUser.md) + - [CollectionsSort](docs/models/CollectionsSort.md) + - [CommentsSort](docs/models/CommentsSort.md) - [CompaniesFilter](docs/models/CompaniesFilter.md) - [CompaniesSort](docs/models/CompaniesSort.md) - [Company](docs/models/Company.md) @@ -838,8 +921,10 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [CreateActivityResponse](docs/models/CreateActivityResponse.md) - [CreateApplicantResponse](docs/models/CreateApplicantResponse.md) - [CreateBillResponse](docs/models/CreateBillResponse.md) + - [CreateCommentResponse](docs/models/CreateCommentResponse.md) - [CreateCompanyResponse](docs/models/CreateCompanyResponse.md) - [CreateConnectionResponse](docs/models/CreateConnectionResponse.md) + - [CreateConsumerResponse](docs/models/CreateConsumerResponse.md) - [CreateContactResponse](docs/models/CreateContactResponse.md) - [CreateCreditNoteResponse](docs/models/CreateCreditNoteResponse.md) - [CreateCustomerResponse](docs/models/CreateCustomerResponse.md) @@ -847,6 +932,8 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [CreateDepartmentResponse](docs/models/CreateDepartmentResponse.md) - [CreateDriveGroupResponse](docs/models/CreateDriveGroupResponse.md) - [CreateDriveResponse](docs/models/CreateDriveResponse.md) + - [CreateEcommerceCustomerResponse](docs/models/CreateEcommerceCustomerResponse.md) + - [CreateEcommerceOrderResponse](docs/models/CreateEcommerceOrderResponse.md) - [CreateEmployeeResponse](docs/models/CreateEmployeeResponse.md) - [CreateFileRequest](docs/models/CreateFileRequest.md) - [CreateFileResponse](docs/models/CreateFileResponse.md) @@ -857,6 +944,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [CreateInvoiceResponse](docs/models/CreateInvoiceResponse.md) - [CreateItemResponse](docs/models/CreateItemResponse.md) - [CreateJobResponse](docs/models/CreateJobResponse.md) + - [CreateJournalEntryResponse](docs/models/CreateJournalEntryResponse.md) - [CreateLeadResponse](docs/models/CreateLeadResponse.md) - [CreateLedgerAccountResponse](docs/models/CreateLedgerAccountResponse.md) - [CreateLocationResponse](docs/models/CreateLocationResponse.md) @@ -871,12 +959,14 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [CreatePaymentResponse](docs/models/CreatePaymentResponse.md) - [CreatePipelineResponse](docs/models/CreatePipelineResponse.md) - [CreatePosPaymentResponse](docs/models/CreatePosPaymentResponse.md) + - [CreateProductResponse](docs/models/CreateProductResponse.md) - [CreateSessionResponse](docs/models/CreateSessionResponse.md) - [CreateSessionResponseData](docs/models/CreateSessionResponseData.md) - [CreateSharedLinkResponse](docs/models/CreateSharedLinkResponse.md) - [CreateSupplierResponse](docs/models/CreateSupplierResponse.md) - [CreateTaxRateResponse](docs/models/CreateTaxRateResponse.md) - [CreateTenderResponse](docs/models/CreateTenderResponse.md) + - [CreateTicketResponse](docs/models/CreateTicketResponse.md) - [CreateTimeOffRequestResponse](docs/models/CreateTimeOffRequestResponse.md) - [CreateUploadSessionRequest](docs/models/CreateUploadSessionRequest.md) - [CreateUploadSessionResponse](docs/models/CreateUploadSessionResponse.md) @@ -892,7 +982,9 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [Deduction](docs/models/Deduction.md) - [DeleteActivityResponse](docs/models/DeleteActivityResponse.md) - [DeleteBillResponse](docs/models/DeleteBillResponse.md) + - [DeleteCommentResponse](docs/models/DeleteCommentResponse.md) - [DeleteCompanyResponse](docs/models/DeleteCompanyResponse.md) + - [DeleteConsumerResponse](docs/models/DeleteConsumerResponse.md) - [DeleteContactResponse](docs/models/DeleteContactResponse.md) - [DeleteCreditNoteResponse](docs/models/DeleteCreditNoteResponse.md) - [DeleteCustomerResponse](docs/models/DeleteCustomerResponse.md) @@ -900,6 +992,8 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [DeleteDepartmentResponse](docs/models/DeleteDepartmentResponse.md) - [DeleteDriveGroupResponse](docs/models/DeleteDriveGroupResponse.md) - [DeleteDriveResponse](docs/models/DeleteDriveResponse.md) + - [DeleteEcommerceCustomerResponse](docs/models/DeleteEcommerceCustomerResponse.md) + - [DeleteEcommerceOrderResponse](docs/models/DeleteEcommerceOrderResponse.md) - [DeleteEmployeeResponse](docs/models/DeleteEmployeeResponse.md) - [DeleteFileResponse](docs/models/DeleteFileResponse.md) - [DeleteFolderResponse](docs/models/DeleteFolderResponse.md) @@ -908,6 +1002,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [DeleteInvoiceResponse](docs/models/DeleteInvoiceResponse.md) - [DeleteItemResponse](docs/models/DeleteItemResponse.md) - [DeleteJobResponse](docs/models/DeleteJobResponse.md) + - [DeleteJournalEntryResponse](docs/models/DeleteJournalEntryResponse.md) - [DeleteLeadResponse](docs/models/DeleteLeadResponse.md) - [DeleteLedgerAccountResponse](docs/models/DeleteLedgerAccountResponse.md) - [DeleteLocationResponse](docs/models/DeleteLocationResponse.md) @@ -922,10 +1017,12 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [DeletePaymentResponse](docs/models/DeletePaymentResponse.md) - [DeletePipelineResponse](docs/models/DeletePipelineResponse.md) - [DeletePosPaymentResponse](docs/models/DeletePosPaymentResponse.md) + - [DeleteProductResponse](docs/models/DeleteProductResponse.md) - [DeleteSharedLinkResponse](docs/models/DeleteSharedLinkResponse.md) - [DeleteSupplierResponse](docs/models/DeleteSupplierResponse.md) - [DeleteTaxRateResponse](docs/models/DeleteTaxRateResponse.md) - [DeleteTenderResponse](docs/models/DeleteTenderResponse.md) + - [DeleteTicketResponse](docs/models/DeleteTicketResponse.md) - [DeleteTimeOffRequestResponse](docs/models/DeleteTimeOffRequestResponse.md) - [DeleteUploadSessionResponse](docs/models/DeleteUploadSessionResponse.md) - [DeleteUserResponse](docs/models/DeleteUserResponse.md) @@ -936,18 +1033,36 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [DriveGroup](docs/models/DriveGroup.md) - [DriveGroupsFilter](docs/models/DriveGroupsFilter.md) - [DrivesFilter](docs/models/DrivesFilter.md) + - [EcommerceAddress](docs/models/EcommerceAddress.md) + - [EcommerceCustomer](docs/models/EcommerceCustomer.md) + - [EcommerceCustomerAddresses](docs/models/EcommerceCustomerAddresses.md) + - [EcommerceCustomersFilter](docs/models/EcommerceCustomersFilter.md) + - [EcommerceDiscount](docs/models/EcommerceDiscount.md) + - [EcommerceOrder](docs/models/EcommerceOrder.md) + - [EcommerceOrderLineItem](docs/models/EcommerceOrderLineItem.md) + - [EcommerceOrderStatus](docs/models/EcommerceOrderStatus.md) + - [EcommerceOrdersFilter](docs/models/EcommerceOrdersFilter.md) + - [EcommerceProduct](docs/models/EcommerceProduct.md) + - [EcommerceProductCategories](docs/models/EcommerceProductCategories.md) + - [EcommerceProductImages](docs/models/EcommerceProductImages.md) + - [EcommerceProductImages1](docs/models/EcommerceProductImages1.md) + - [EcommerceProductOptions](docs/models/EcommerceProductOptions.md) + - [EcommerceProductOptions1](docs/models/EcommerceProductOptions1.md) + - [EcommerceProductVariants](docs/models/EcommerceProductVariants.md) + - [EcommerceStore](docs/models/EcommerceStore.md) - [Email](docs/models/Email.md) - [Employee](docs/models/Employee.md) - [EmployeeCompensations](docs/models/EmployeeCompensations.md) - [EmployeeEmploymentRole](docs/models/EmployeeEmploymentRole.md) - [EmployeeJobs](docs/models/EmployeeJobs.md) - [EmployeeManager](docs/models/EmployeeManager.md) - - [EmployeePartner](docs/models/EmployeePartner.md) - [EmployeePayroll](docs/models/EmployeePayroll.md) - [EmployeePayrolls](docs/models/EmployeePayrolls.md) - [EmployeeSchedules](docs/models/EmployeeSchedules.md) - [EmployeeTeam](docs/models/EmployeeTeam.md) - [EmployeesFilter](docs/models/EmployeesFilter.md) + - [EmployeesSort](docs/models/EmployeesSort.md) + - [EmploymentStatus](docs/models/EmploymentStatus.md) - [Error](docs/models/Error.md) - [ExecuteBaseUrl](docs/models/ExecuteBaseUrl.md) - [ExecuteWebhookEventRequest](docs/models/ExecuteWebhookEventRequest.md) @@ -974,6 +1089,13 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [GetBalanceSheetResponse](docs/models/GetBalanceSheetResponse.md) - [GetBillResponse](docs/models/GetBillResponse.md) - [GetBillsResponse](docs/models/GetBillsResponse.md) + - [GetCollectionResponse](docs/models/GetCollectionResponse.md) + - [GetCollectionTagsResponse](docs/models/GetCollectionTagsResponse.md) + - [GetCollectionUserResponse](docs/models/GetCollectionUserResponse.md) + - [GetCollectionUsersResponse](docs/models/GetCollectionUsersResponse.md) + - [GetCollectionsResponse](docs/models/GetCollectionsResponse.md) + - [GetCommentResponse](docs/models/GetCommentResponse.md) + - [GetCommentsResponse](docs/models/GetCommentsResponse.md) - [GetCompaniesResponse](docs/models/GetCompaniesResponse.md) - [GetCompanyInfoResponse](docs/models/GetCompanyInfoResponse.md) - [GetCompanyResponse](docs/models/GetCompanyResponse.md) @@ -999,6 +1121,10 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [GetDriveGroupsResponse](docs/models/GetDriveGroupsResponse.md) - [GetDriveResponse](docs/models/GetDriveResponse.md) - [GetDrivesResponse](docs/models/GetDrivesResponse.md) + - [GetEcommerceCustomerResponse](docs/models/GetEcommerceCustomerResponse.md) + - [GetEcommerceCustomersResponse](docs/models/GetEcommerceCustomersResponse.md) + - [GetEcommerceOrderResponse](docs/models/GetEcommerceOrderResponse.md) + - [GetEcommerceOrdersResponse](docs/models/GetEcommerceOrdersResponse.md) - [GetEmployeePayrollResponse](docs/models/GetEmployeePayrollResponse.md) - [GetEmployeePayrollsResponse](docs/models/GetEmployeePayrollsResponse.md) - [GetEmployeeResponse](docs/models/GetEmployeeResponse.md) @@ -1020,6 +1146,8 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [GetItemsResponse](docs/models/GetItemsResponse.md) - [GetJobResponse](docs/models/GetJobResponse.md) - [GetJobsResponse](docs/models/GetJobsResponse.md) + - [GetJournalEntriesResponse](docs/models/GetJournalEntriesResponse.md) + - [GetJournalEntryResponse](docs/models/GetJournalEntryResponse.md) - [GetLeadResponse](docs/models/GetLeadResponse.md) - [GetLeadsResponse](docs/models/GetLeadsResponse.md) - [GetLedgerAccountResponse](docs/models/GetLedgerAccountResponse.md) @@ -1051,15 +1179,21 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [GetPipelinesResponse](docs/models/GetPipelinesResponse.md) - [GetPosPaymentResponse](docs/models/GetPosPaymentResponse.md) - [GetPosPaymentsResponse](docs/models/GetPosPaymentsResponse.md) + - [GetProductResponse](docs/models/GetProductResponse.md) + - [GetProductsResponse](docs/models/GetProductsResponse.md) - [GetProfitAndLossResponse](docs/models/GetProfitAndLossResponse.md) - [GetSharedLinkResponse](docs/models/GetSharedLinkResponse.md) - [GetSharedLinksResponse](docs/models/GetSharedLinksResponse.md) + - [GetStoreResponse](docs/models/GetStoreResponse.md) + - [GetStoresResponse](docs/models/GetStoresResponse.md) - [GetSupplierResponse](docs/models/GetSupplierResponse.md) - [GetSuppliersResponse](docs/models/GetSuppliersResponse.md) - [GetTaxRateResponse](docs/models/GetTaxRateResponse.md) - [GetTaxRatesResponse](docs/models/GetTaxRatesResponse.md) - [GetTenderResponse](docs/models/GetTenderResponse.md) - [GetTendersResponse](docs/models/GetTendersResponse.md) + - [GetTicketResponse](docs/models/GetTicketResponse.md) + - [GetTicketsResponse](docs/models/GetTicketsResponse.md) - [GetTimeOffRequestResponse](docs/models/GetTimeOffRequestResponse.md) - [GetTimeOffRequestsResponse](docs/models/GetTimeOffRequestsResponse.md) - [GetUploadSessionResponse](docs/models/GetUploadSessionResponse.md) @@ -1074,6 +1208,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [HrisJobLocation](docs/models/HrisJobLocation.md) - [HrisJobs](docs/models/HrisJobs.md) - [IdempotencyKey](docs/models/IdempotencyKey.md) + - [IntegrationState](docs/models/IntegrationState.md) - [Invoice](docs/models/Invoice.md) - [InvoiceItem](docs/models/InvoiceItem.md) - [InvoiceItemAssetAccount](docs/models/InvoiceItemAssetAccount.md) @@ -1084,11 +1219,15 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [InvoiceLineItem](docs/models/InvoiceLineItem.md) - [InvoiceResponse](docs/models/InvoiceResponse.md) - [InvoicesSort](docs/models/InvoicesSort.md) + - [IssueTrackingEventType](docs/models/IssueTrackingEventType.md) + - [IssuesFilter](docs/models/IssuesFilter.md) - [Item](docs/models/Item.md) - [Job](docs/models/Job.md) - [JobSalary](docs/models/JobSalary.md) - [JobStatus](docs/models/JobStatus.md) - [JobsFilter](docs/models/JobsFilter.md) + - [JournalEntry](docs/models/JournalEntry.md) + - [JournalEntryLineItem](docs/models/JournalEntryLineItem.md) - [Lead](docs/models/Lead.md) - [LeadEventType](docs/models/LeadEventType.md) - [LeadsFilter](docs/models/LeadsFilter.md) @@ -1099,11 +1238,15 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [LedgerAccounts](docs/models/LedgerAccounts.md) - [LinkedConnectorResource](docs/models/LinkedConnectorResource.md) - [LinkedCustomer](docs/models/LinkedCustomer.md) + - [LinkedEcommerceCustomer](docs/models/LinkedEcommerceCustomer.md) + - [LinkedEcommerceOrder](docs/models/LinkedEcommerceOrder.md) - [LinkedFolder](docs/models/LinkedFolder.md) - [LinkedInvoiceItem](docs/models/LinkedInvoiceItem.md) - [LinkedLedgerAccount](docs/models/LinkedLedgerAccount.md) + - [LinkedParentCustomer](docs/models/LinkedParentCustomer.md) - [LinkedSupplier](docs/models/LinkedSupplier.md) - [LinkedTaxRate](docs/models/LinkedTaxRate.md) + - [LinkedTrackingCategory](docs/models/LinkedTrackingCategory.md) - [Links](docs/models/Links.md) - [Location](docs/models/Location.md) - [Log](docs/models/Log.md) @@ -1139,7 +1282,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [OrderType](docs/models/OrderType.md) - [Owner](docs/models/Owner.md) - [PaginationCoverage](docs/models/PaginationCoverage.md) - - [Passthrough](docs/models/Passthrough.md) + - [PassThroughQuery](docs/models/PassThroughQuery.md) - [Payment](docs/models/Payment.md) - [PaymentAllocations](docs/models/PaymentAllocations.md) - [PaymentCard](docs/models/PaymentCard.md) @@ -1148,6 +1291,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [Payroll](docs/models/Payroll.md) - [PayrollTotals](docs/models/PayrollTotals.md) - [PayrollsFilter](docs/models/PayrollsFilter.md) + - [Person](docs/models/Person.md) - [PhoneNumber](docs/models/PhoneNumber.md) - [Pipeline](docs/models/Pipeline.md) - [PipelineStages](docs/models/PipelineStages.md) @@ -1188,6 +1332,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [SortDirection](docs/models/SortDirection.md) - [Status](docs/models/Status.md) - [Supplier](docs/models/Supplier.md) + - [SuppliersFilter](docs/models/SuppliersFilter.md) - [SupportedProperty](docs/models/SupportedProperty.md) - [SupportedPropertyChildProperties](docs/models/SupportedPropertyChildProperties.md) - [Tags](docs/models/Tags.md) @@ -1195,11 +1340,14 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [TaxRate](docs/models/TaxRate.md) - [TaxRatesFilter](docs/models/TaxRatesFilter.md) - [Tender](docs/models/Tender.md) + - [Ticket](docs/models/Ticket.md) + - [TicketsSort](docs/models/TicketsSort.md) - [TimeOffRequest](docs/models/TimeOffRequest.md) - [TimeOffRequestNotes](docs/models/TimeOffRequestNotes.md) - [TimeOffRequestsFilter](docs/models/TimeOffRequestsFilter.md) - [TooManyRequestsResponse](docs/models/TooManyRequestsResponse.md) - [TooManyRequestsResponseDetail](docs/models/TooManyRequestsResponseDetail.md) + - [TrackingItem](docs/models/TrackingItem.md) - [UnauthorizedResponse](docs/models/UnauthorizedResponse.md) - [UnexpectedErrorResponse](docs/models/UnexpectedErrorResponse.md) - [UnifiedApiId](docs/models/UnifiedApiId.md) @@ -1208,8 +1356,11 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [UnprocessableResponse](docs/models/UnprocessableResponse.md) - [UpdateActivityResponse](docs/models/UpdateActivityResponse.md) - [UpdateBillResponse](docs/models/UpdateBillResponse.md) + - [UpdateCommentResponse](docs/models/UpdateCommentResponse.md) - [UpdateCompanyResponse](docs/models/UpdateCompanyResponse.md) - [UpdateConnectionResponse](docs/models/UpdateConnectionResponse.md) + - [UpdateConsumerRequest](docs/models/UpdateConsumerRequest.md) + - [UpdateConsumerResponse](docs/models/UpdateConsumerResponse.md) - [UpdateContactResponse](docs/models/UpdateContactResponse.md) - [UpdateCreditNoteResponse](docs/models/UpdateCreditNoteResponse.md) - [UpdateCustomerResponse](docs/models/UpdateCustomerResponse.md) @@ -1217,7 +1368,10 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [UpdateDepartmentResponse](docs/models/UpdateDepartmentResponse.md) - [UpdateDriveGroupResponse](docs/models/UpdateDriveGroupResponse.md) - [UpdateDriveResponse](docs/models/UpdateDriveResponse.md) + - [UpdateEcommerceCustomerResponse](docs/models/UpdateEcommerceCustomerResponse.md) + - [UpdateEcommerceOrderResponse](docs/models/UpdateEcommerceOrderResponse.md) - [UpdateEmployeeResponse](docs/models/UpdateEmployeeResponse.md) + - [UpdateFileRequest](docs/models/UpdateFileRequest.md) - [UpdateFileResponse](docs/models/UpdateFileResponse.md) - [UpdateFolderRequest](docs/models/UpdateFolderRequest.md) - [UpdateFolderResponse](docs/models/UpdateFolderResponse.md) @@ -1226,6 +1380,7 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [UpdateInvoiceResponse](docs/models/UpdateInvoiceResponse.md) - [UpdateItemResponse](docs/models/UpdateItemResponse.md) - [UpdateJobResponse](docs/models/UpdateJobResponse.md) + - [UpdateJournalEntryResponse](docs/models/UpdateJournalEntryResponse.md) - [UpdateLeadResponse](docs/models/UpdateLeadResponse.md) - [UpdateLedgerAccountResponse](docs/models/UpdateLedgerAccountResponse.md) - [UpdateLocationResponse](docs/models/UpdateLocationResponse.md) @@ -1240,10 +1395,12 @@ _WebhookApi_ | [**webhooks_update**](docs/apis/WebhookApi.md#webhooks_update) | - [UpdatePaymentResponse](docs/models/UpdatePaymentResponse.md) - [UpdatePipelineResponse](docs/models/UpdatePipelineResponse.md) - [UpdatePosPaymentResponse](docs/models/UpdatePosPaymentResponse.md) + - [UpdateProductResponse](docs/models/UpdateProductResponse.md) - [UpdateSharedLinkResponse](docs/models/UpdateSharedLinkResponse.md) - [UpdateSupplierResponse](docs/models/UpdateSupplierResponse.md) - [UpdateTaxRateResponse](docs/models/UpdateTaxRateResponse.md) - [UpdateTenderResponse](docs/models/UpdateTenderResponse.md) + - [UpdateTicketResponse](docs/models/UpdateTicketResponse.md) - [UpdateTimeOffRequestResponse](docs/models/UpdateTimeOffRequestResponse.md) - [UpdateUploadSessionResponse](docs/models/UpdateUploadSessionResponse.md) - [UpdateUserResponse](docs/models/UpdateUserResponse.md) diff --git a/docs/apis/AccountingApi.md b/docs/apis/AccountingApi.md index 9ce1d906f..03ab116d2 100644 --- a/docs/apis/AccountingApi.md +++ b/docs/apis/AccountingApi.md @@ -31,6 +31,11 @@ Method | HTTP request | Description [**invoices_delete**](AccountingApi.md#invoices_delete) | **DELETE** /accounting/invoices/{id} | Delete Invoice [**invoices_one**](AccountingApi.md#invoices_one) | **GET** /accounting/invoices/{id} | Get Invoice [**invoices_update**](AccountingApi.md#invoices_update) | **PATCH** /accounting/invoices/{id} | Update Invoice +[**journal_entries_add**](AccountingApi.md#journal_entries_add) | **POST** /accounting/journal-entries | Create Journal Entry +[**journal_entries_all**](AccountingApi.md#journal_entries_all) | **GET** /accounting/journal-entries | List Journal Entries +[**journal_entries_delete**](AccountingApi.md#journal_entries_delete) | **DELETE** /accounting/journal-entries/{id} | Delete Journal Entry +[**journal_entries_one**](AccountingApi.md#journal_entries_one) | **GET** /accounting/journal-entries/{id} | Get Journal Entry +[**journal_entries_update**](AccountingApi.md#journal_entries_update) | **PATCH** /accounting/journal-entries/{id} | Update Journal Entry [**ledger_accounts_add**](AccountingApi.md#ledger_accounts_add) | **POST** /accounting/ledger-accounts | Create Ledger Account [**ledger_accounts_all**](AccountingApi.md#ledger_accounts_all) | **GET** /accounting/ledger-accounts | List Ledger Accounts [**ledger_accounts_delete**](AccountingApi.md#ledger_accounts_delete) | **DELETE** /accounting/ledger-accounts/{id} | Delete Ledger Account @@ -70,12 +75,12 @@ import time import apideck from apideck.api import accounting_api from apideck.model.balance_sheet_filter import BalanceSheetFilter +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.get_balance_sheet_response import GetBalanceSheetResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse -from apideck.model.passthrough import Passthrough from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.not_found_response import NotFoundResponse from pprint import pprint @@ -103,7 +108,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) - pass_through = Passthrough() # Passthrough | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) filter = BalanceSheetFilter( start_date="2021-01-01", end_date="2021-12-31", @@ -128,7 +133,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] - **pass_through** | **Passthrough**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] **filter** | **BalanceSheetFilter**| Apply filters | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False @@ -206,6 +211,7 @@ with apideck.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = accounting_api.AccountingApi(api_client) bill = Bill( + bill_number="10001", supplier=LinkedSupplier( id="12345", display_name="Windsurf Shop", @@ -286,7 +292,6 @@ with apideck.ApiClient(configuration) as api_client: nominal_code="N091", code="453", ), - bill_number="10001", row_version="1-12345", ) # Bill | raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False @@ -366,9 +371,11 @@ List Bills import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.get_bills_response import GetBillsResponse from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.bills_sort import BillsSort from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse from apideck.model.unprocessable_response import UnprocessableResponse @@ -400,13 +407,19 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + sort = BillsSort( + by="updated_at", + direction=SortDirection("asc"), + ) # BillsSort | Apply sorting (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Bills - api_response = api_instance.bills_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.bills_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, sort=sort, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->bills_all: %s\n" % e) @@ -422,7 +435,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **sort** | **BillsSort**| Apply sorting | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -608,6 +624,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -621,7 +638,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Bill - api_response = api_instance.bills_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.bills_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->bills_one: %s\n" % e) @@ -637,6 +654,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -713,6 +731,7 @@ with apideck.ApiClient(configuration) as api_client: api_instance = accounting_api.AccountingApi(api_client) id = "id_example" # str | ID of the record you are acting upon. bill = Bill( + bill_number="10001", supplier=LinkedSupplier( id="12345", display_name="Windsurf Shop", @@ -793,7 +812,6 @@ with apideck.ApiClient(configuration) as api_client: nominal_code="N091", code="453", ), - bill_number="10001", row_version="1-12345", ) # Bill | consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) @@ -907,12 +925,13 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # Get company info - api_response = api_instance.company_info_one(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.company_info_one(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->company_info_one: %s\n" % e) @@ -927,6 +946,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1040,6 +1060,7 @@ with apideck.ApiClient(configuration) as api_client: unit_price=27500.5, unit_of_measure="pc.", discount_percentage=0.01, + discount_amount=19.99, location_id="1234", department_id="1234", item=LinkedInvoiceItem( @@ -1060,6 +1081,7 @@ with apideck.ApiClient(configuration) as api_client: None, ], note="Some notes about this credit note", + terms="Some terms about this credit note", row_version="1-12345", ) # CreditNote | raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False @@ -1140,6 +1162,7 @@ import time import apideck from apideck.api import accounting_api from apideck.model.get_credit_notes_response import GetCreditNotesResponse +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse @@ -1173,13 +1196,15 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Credit Notes - api_response = api_instance.credit_notes_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.credit_notes_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->credit_notes_all: %s\n" % e) @@ -1195,7 +1220,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1381,6 +1408,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1394,7 +1422,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Credit Note - api_response = api_instance.credit_notes_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.credit_notes_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->credit_notes_one: %s\n" % e) @@ -1410,6 +1438,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1524,6 +1553,7 @@ with apideck.ApiClient(configuration) as api_client: unit_price=27500.5, unit_of_measure="pc.", discount_percentage=0.01, + discount_amount=19.99, location_id="1234", department_id="1234", item=LinkedInvoiceItem( @@ -1544,6 +1574,7 @@ with apideck.ApiClient(configuration) as api_client: None, ], note="Some notes about this credit note", + terms="Some terms about this credit note", row_version="1-12345", ) # CreditNote | consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) @@ -1664,6 +1695,7 @@ with apideck.ApiClient(configuration) as api_client: last_name="Musk", suffix="Jr.", individual=True, + project=False, addresses=[ Address( id="123", @@ -1691,7 +1723,6 @@ with apideck.ApiClient(configuration) as api_client: row_version="1-12345", ), ], - notes="Some notes about this customer", phone_numbers=[ PhoneNumber( id="12345", @@ -1716,24 +1747,34 @@ with apideck.ApiClient(configuration) as api_client: type="primary", ), ], - tax_rate=LinkedTaxRate( - id="123456", - ), - tax_number="US123945459", - currency=Currency("USD"), bank_accounts=[ BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), ], + notes="Some notes about this customer", + tax_rate=LinkedTaxRate( + id="123456", + ), + tax_number="US123945459", + currency=Currency("USD"), + account=LinkedLedgerAccount( + id="123456", + nominal_code="N091", + code="453", + ), + parent=LinkedParentCustomer( + id="12345", + name="Windsurf Shop", + ), status="active", row_version="1-12345", ) # AccountingCustomer | @@ -1814,6 +1855,7 @@ List Customers import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse @@ -1849,7 +1891,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = CustomersFilter( company_name="SpaceX", display_name="Techno King", @@ -1857,12 +1899,14 @@ with apideck.ApiClient(configuration) as api_client: last_name="Musk", email="elon@spacex.com", ) # CustomersFilter | Apply filters (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Customers - api_response = api_instance.customers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.customers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->customers_all: %s\n" % e) @@ -1878,8 +1922,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **CustomersFilter**| Apply filters | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2065,6 +2111,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2078,7 +2125,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Customer - api_response = api_instance.customers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.customers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->customers_one: %s\n" % e) @@ -2094,6 +2141,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2179,6 +2227,7 @@ with apideck.ApiClient(configuration) as api_client: last_name="Musk", suffix="Jr.", individual=True, + project=False, addresses=[ Address( id="123", @@ -2206,7 +2255,6 @@ with apideck.ApiClient(configuration) as api_client: row_version="1-12345", ), ], - notes="Some notes about this customer", phone_numbers=[ PhoneNumber( id="12345", @@ -2231,24 +2279,34 @@ with apideck.ApiClient(configuration) as api_client: type="primary", ), ], - tax_rate=LinkedTaxRate( - id="123456", - ), - tax_number="US123945459", - currency=Currency("USD"), bank_accounts=[ BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), ], + notes="Some notes about this customer", + tax_rate=LinkedTaxRate( + id="123456", + ), + tax_number="US123945459", + currency=Currency("USD"), + account=LinkedLedgerAccount( + id="123456", + nominal_code="N091", + code="453", + ), + parent=LinkedParentCustomer( + id="12345", + name="Windsurf Shop", + ), status="active", row_version="1-12345", ) # AccountingCustomer | @@ -2367,6 +2425,7 @@ with apideck.ApiClient(configuration) as api_client: sold=True, purchased=True, tracked=True, + taxable=True, inventory_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(), type="inventory", sales_details=InvoiceItemSalesDetails( @@ -2482,6 +2541,7 @@ List Invoice Items import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.invoice_items_filter import InvoiceItemsFilter from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse @@ -2517,16 +2577,18 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = InvoiceItemsFilter( name="Widgets Large", ) # InvoiceItemsFilter | Apply filters (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Invoice Items - api_response = api_instance.invoice_items_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.invoice_items_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->invoice_items_all: %s\n" % e) @@ -2542,8 +2604,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **InvoiceItemsFilter**| Apply filters | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2729,6 +2793,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2742,7 +2807,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Invoice Item - api_response = api_instance.invoice_items_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.invoice_items_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->invoice_items_one: %s\n" % e) @@ -2758,6 +2823,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2840,6 +2906,7 @@ with apideck.ApiClient(configuration) as api_client: sold=True, purchased=True, tracked=True, + taxable=True, inventory_date=dateutil_parser('Fri Oct 30 00:00:00 UTC 2020').date(), type="inventory", sales_details=InvoiceItemSalesDetails( @@ -3008,6 +3075,7 @@ with apideck.ApiClient(configuration) as api_client: total_tax=2500, tax_code="1234", discount_percentage=5.5, + discount_amount=25, total=27500, balance=27500, deposit=0, @@ -3025,6 +3093,7 @@ with apideck.ApiClient(configuration) as api_client: unit_price=27500.5, unit_of_measure="pc.", discount_percentage=0.01, + discount_amount=19.99, location_id="1234", department_id="1234", item=LinkedInvoiceItem( @@ -3172,6 +3241,7 @@ List Invoices import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.invoices_sort import InvoicesSort from apideck.model.payment_required_response import PaymentRequiredResponse @@ -3207,17 +3277,19 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 sort = InvoicesSort( by="updated_at", direction=SortDirection("asc"), ) # InvoicesSort | Apply sorting (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Invoices - api_response = api_instance.invoices_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, sort=sort) + api_response = api_instance.invoices_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, sort=sort, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->invoices_all: %s\n" % e) @@ -3233,8 +3305,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **sort** | **InvoicesSort**| Apply sorting | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3420,6 +3494,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -3433,7 +3508,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Invoice - api_response = api_instance.invoices_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.invoices_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->invoices_one: %s\n" % e) @@ -3449,6 +3524,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3546,6 +3622,7 @@ with apideck.ApiClient(configuration) as api_client: total_tax=2500, tax_code="1234", discount_percentage=5.5, + discount_amount=25, total=27500, balance=27500, deposit=0, @@ -3563,6 +3640,7 @@ with apideck.ApiClient(configuration) as api_client: unit_price=27500.5, unit_of_measure="pc.", discount_percentage=0.01, + discount_amount=19.99, location_id="1234", department_id="1234", item=LinkedInvoiceItem( @@ -3696,12 +3774,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) -# **ledger_accounts_add** -> CreateLedgerAccountResponse ledger_accounts_add(ledger_account) +# **journal_entries_add** +> CreateJournalEntryResponse journal_entries_add(journal_entry) -Create Ledger Account +Create Journal Entry -Create Ledger Account +Create Journal Entry ### Example @@ -3711,10 +3789,10 @@ Create Ledger Account import time import apideck from apideck.api import accounting_api -from apideck.model.ledger_account import LedgerAccount +from apideck.model.create_journal_entry_response import CreateJournalEntryResponse +from apideck.model.journal_entry import JournalEntry from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse -from apideck.model.create_ledger_account_response import CreateLedgerAccountResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse from apideck.model.unprocessable_response import UnprocessableResponse @@ -3741,7 +3819,35 @@ configuration.api_key['apiKey'] = 'YOUR_API_KEY' with apideck.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = accounting_api.AccountingApi(api_client) - ledger_account = LedgerAccount() # LedgerAccount | + journal_entry = JournalEntry( + title="Purchase Invoice-Inventory (USD): 2019/02/01 Batch Summary Entry", + currency_rate=0.69, + currency=Currency("USD"), + line_items=[ + JournalEntryLineItem( + description="Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.", + tax_amount=27500, + total_amount=27500, + type="debit", + tax_rate=LinkedTaxRate( + id="123456", + ), + tracking_category=LinkedTrackingCategory( + id="123456", + name="New York", + ), + ledger_account=LinkedLedgerAccount( + id="123456", + nominal_code="N091", + code="453", + ), + ), + ], + memo="Thank you for your business and have a great day!", + posted_at=dateutil_parser('2020-09-30T07:43:32Z'), + journal_symbol="IND", + row_version="1-12345", + ) # JournalEntry | raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) @@ -3749,20 +3855,20 @@ with apideck.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - # Create Ledger Account - api_response = api_instance.ledger_accounts_add(ledger_account) + # Create Journal Entry + api_response = api_instance.journal_entries_add(journal_entry) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_add: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_add: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Create Ledger Account - api_response = api_instance.ledger_accounts_add(ledger_account, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + # Create Journal Entry + api_response = api_instance.journal_entries_add(journal_entry, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_add: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_add: %s\n" % e) ``` @@ -3770,7 +3876,7 @@ with apideck.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **ledger_account** | [**LedgerAccount**](LedgerAccount.md)| | + **journal_entry** | [**JournalEntry**](JournalEntry.md)| | **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] @@ -3778,7 +3884,7 @@ Name | Type | Description | Notes ### Return type -[**CreateLedgerAccountResponse**](CreateLedgerAccountResponse.md) +[**CreateJournalEntryResponse**](CreateJournalEntryResponse.md) ### Authorization @@ -3794,7 +3900,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | LedgerAccount created | - | +**201** | JournalEntries | - | **400** | Bad Request | - | **401** | Unauthorized | - | **402** | Payment Required | - | @@ -3804,12 +3910,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) -# **ledger_accounts_all** -> GetLedgerAccountsResponse ledger_accounts_all() +# **journal_entries_all** +> GetJournalEntriesResponse journal_entries_all() -List Ledger Accounts +List Journal Entries -List Ledger Accounts +List Journal Entries ### Example @@ -3819,11 +3925,12 @@ List Ledger Accounts import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.get_journal_entries_response import GetJournalEntriesResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse -from apideck.model.get_ledger_accounts_response import GetLedgerAccountsResponse from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.not_found_response import NotFoundResponse from pprint import pprint @@ -3853,16 +3960,18 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: - # List Ledger Accounts - api_response = api_instance.ledger_accounts_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + # List Journal Entries + api_response = api_instance.journal_entries_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_all: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_all: %s\n" % e) ``` @@ -3875,11 +3984,13 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type -[**GetLedgerAccountsResponse**](GetLedgerAccountsResponse.md) +[**GetJournalEntriesResponse**](GetJournalEntriesResponse.md) ### Authorization @@ -3895,7 +4006,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | LedgerAccounts | - | +**200** | JournalEntry | - | **400** | Bad Request | - | **401** | Unauthorized | - | **402** | Payment Required | - | @@ -3905,12 +4016,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) -# **ledger_accounts_delete** -> DeleteLedgerAccountResponse ledger_accounts_delete(id) +# **journal_entries_delete** +> DeleteJournalEntryResponse journal_entries_delete(id) -Delete Ledger Account +Delete Journal Entry -Delete Ledger Account +Delete Journal Entry ### Example @@ -3921,10 +4032,10 @@ import time import apideck from apideck.api import accounting_api from apideck.model.bad_request_response import BadRequestResponse -from apideck.model.delete_ledger_account_response import DeleteLedgerAccountResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.delete_journal_entry_response import DeleteJournalEntryResponse from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.not_found_response import NotFoundResponse from pprint import pprint @@ -3957,20 +4068,20 @@ with apideck.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - # Delete Ledger Account - api_response = api_instance.ledger_accounts_delete(id) + # Delete Journal Entry + api_response = api_instance.journal_entries_delete(id) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_delete: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_delete: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Delete Ledger Account - api_response = api_instance.ledger_accounts_delete(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + # Delete Journal Entry + api_response = api_instance.journal_entries_delete(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_delete: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_delete: %s\n" % e) ``` @@ -3986,7 +4097,7 @@ Name | Type | Description | Notes ### Return type -[**DeleteLedgerAccountResponse**](DeleteLedgerAccountResponse.md) +[**DeleteJournalEntryResponse**](DeleteJournalEntryResponse.md) ### Authorization @@ -4002,7 +4113,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | LedgerAccount deleted | - | +**200** | JournalEntries | - | **400** | Bad Request | - | **401** | Unauthorized | - | **402** | Payment Required | - | @@ -4012,12 +4123,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) -# **ledger_accounts_one** -> GetLedgerAccountResponse ledger_accounts_one(id) +# **journal_entries_one** +> GetJournalEntryResponse journal_entries_one(id) -Get Ledger Account +Get Journal Entry -Get Ledger Account +Get Journal Entry ### Example @@ -4027,8 +4138,8 @@ Get Ledger Account import time import apideck from apideck.api import accounting_api -from apideck.model.get_ledger_account_response import GetLedgerAccountResponse from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.get_journal_entry_response import GetJournalEntryResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse @@ -4061,23 +4172,24 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: - # Get Ledger Account - api_response = api_instance.ledger_accounts_one(id) + # Get Journal Entry + api_response = api_instance.journal_entries_one(id) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_one: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_one: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Get Ledger Account - api_response = api_instance.ledger_accounts_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + # Get Journal Entry + api_response = api_instance.journal_entries_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_one: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_one: %s\n" % e) ``` @@ -4090,10 +4202,11 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type -[**GetLedgerAccountResponse**](GetLedgerAccountResponse.md) +[**GetJournalEntryResponse**](GetJournalEntryResponse.md) ### Authorization @@ -4109,7 +4222,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | LedgerAccount | - | +**200** | JournalEntries | - | **400** | Bad Request | - | **401** | Unauthorized | - | **402** | Payment Required | - | @@ -4119,12 +4232,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) -# **ledger_accounts_update** -> UpdateLedgerAccountResponse ledger_accounts_update(id, ledger_account) +# **journal_entries_update** +> UpdateJournalEntryResponse journal_entries_update(id, journal_entry) -Update Ledger Account +Update Journal Entry -Update Ledger Account +Update Journal Entry ### Example @@ -4134,10 +4247,10 @@ Update Ledger Account import time import apideck from apideck.api import accounting_api -from apideck.model.ledger_account import LedgerAccount +from apideck.model.update_journal_entry_response import UpdateJournalEntryResponse +from apideck.model.journal_entry import JournalEntry from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse -from apideck.model.update_ledger_account_response import UpdateLedgerAccountResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse from apideck.model.unprocessable_response import UnprocessableResponse @@ -4165,7 +4278,35 @@ with apideck.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = accounting_api.AccountingApi(api_client) id = "id_example" # str | ID of the record you are acting upon. - ledger_account = LedgerAccount() # LedgerAccount | + journal_entry = JournalEntry( + title="Purchase Invoice-Inventory (USD): 2019/02/01 Batch Summary Entry", + currency_rate=0.69, + currency=Currency("USD"), + line_items=[ + JournalEntryLineItem( + description="Model Y is a fully electric, mid-size SUV, with seating for up to seven, dual motor AWD and unparalleled protection.", + tax_amount=27500, + total_amount=27500, + type="debit", + tax_rate=LinkedTaxRate( + id="123456", + ), + tracking_category=LinkedTrackingCategory( + id="123456", + name="New York", + ), + ledger_account=LinkedLedgerAccount( + id="123456", + nominal_code="N091", + code="453", + ), + ), + ], + memo="Thank you for your business and have a great day!", + posted_at=dateutil_parser('2020-09-30T07:43:32Z'), + journal_symbol="IND", + row_version="1-12345", + ) # JournalEntry | consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) @@ -4173,20 +4314,20 @@ with apideck.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - # Update Ledger Account - api_response = api_instance.ledger_accounts_update(id, ledger_account) + # Update Journal Entry + api_response = api_instance.journal_entries_update(id, journal_entry) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_update: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_update: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Update Ledger Account - api_response = api_instance.ledger_accounts_update(id, ledger_account, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + # Update Journal Entry + api_response = api_instance.journal_entries_update(id, journal_entry, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->ledger_accounts_update: %s\n" % e) + print("Exception when calling AccountingApi->journal_entries_update: %s\n" % e) ``` @@ -4195,7 +4336,7 @@ with apideck.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **str**| ID of the record you are acting upon. | - **ledger_account** | [**LedgerAccount**](LedgerAccount.md)| | + **journal_entry** | [**JournalEntry**](JournalEntry.md)| | **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] @@ -4203,7 +4344,7 @@ Name | Type | Description | Notes ### Return type -[**UpdateLedgerAccountResponse**](UpdateLedgerAccountResponse.md) +[**UpdateJournalEntryResponse**](UpdateJournalEntryResponse.md) ### Authorization @@ -4219,7 +4360,7 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**200** | LedgerAccount updated | - | +**200** | JournalEntries | - | **400** | Bad Request | - | **401** | Unauthorized | - | **402** | Payment Required | - | @@ -4229,12 +4370,12 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) -# **payments_add** -> CreatePaymentResponse payments_add(payment) +# **ledger_accounts_add** +> CreateLedgerAccountResponse ledger_accounts_add(ledger_account) -Create Payment +Create Ledger Account -Create Payment +Create Ledger Account ### Example @@ -4244,12 +4385,12 @@ Create Payment import time import apideck from apideck.api import accounting_api +from apideck.model.ledger_account import LedgerAccount from apideck.model.bad_request_response import BadRequestResponse -from apideck.model.create_payment_response import CreatePaymentResponse from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.create_ledger_account_response import CreateLedgerAccountResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse -from apideck.model.payment import Payment from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.not_found_response import NotFoundResponse from pprint import pprint @@ -4274,69 +4415,7 @@ configuration.api_key['apiKey'] = 'YOUR_API_KEY' with apideck.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = accounting_api.AccountingApi(api_client) - payment = Payment( - currency=Currency("USD"), - currency_rate=0.69, - total_amount=49.99, - reference="123456", - payment_method="Credit Card", - payment_method_reference="123456", - accounts_receivable_account_type="Account", - accounts_receivable_account_id="123456", - account=LinkedLedgerAccount( - id="123456", - nominal_code="N091", - code="453", - ), - transaction_date=dateutil_parser('2021-05-01T12:00:00Z'), - customer=LinkedCustomer( - id="12345", - display_name="Windsurf Shop", - name="Windsurf Shop", - ), - supplier=LinkedSupplier( - id="12345", - display_name="Windsurf Shop", - address=Address( - id="123", - type="primary", - string="25 Spring Street, Blackburn, VIC 3130", - name="HQ US", - line1="Main street", - line2="apt #", - line3="Suite #", - line4="delivery instructions", - street_number="25", - city="San Francisco", - state="CA", - postal_code="94104", - country="US", - latitude="40.759211", - longitude="-73.984638", - county="Santa Clara", - contact_name="Elon Musk", - salutation="Mr", - phone_number="111-111-1111", - fax="122-111-1111", - email="elon@musk.com", - website="https://elonmusk.com", - row_version="1-12345", - ), - ), - reconciled=True, - status="authorised", - type="accounts_receivable", - allocations=[ - PaymentAllocations( - id="123456", - type="invoice", - amount=49.99, - ), - ], - note="Some notes about this payment", - row_version="1-12345", - display_id="123456", - ) # Payment | + ledger_account = LedgerAccount() # LedgerAccount | raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) @@ -4344,20 +4423,20 @@ with apideck.ApiClient(configuration) as api_client: # example passing only required values which don't have defaults set try: - # Create Payment - api_response = api_instance.payments_add(payment) + # Create Ledger Account + api_response = api_instance.ledger_accounts_add(ledger_account) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->payments_add: %s\n" % e) + print("Exception when calling AccountingApi->ledger_accounts_add: %s\n" % e) # example passing only required values which don't have defaults set # and optional values try: - # Create Payment - api_response = api_instance.payments_add(payment, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + # Create Ledger Account + api_response = api_instance.ledger_accounts_add(ledger_account, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) pprint(api_response) except apideck.ApiException as e: - print("Exception when calling AccountingApi->payments_add: %s\n" % e) + print("Exception when calling AccountingApi->ledger_accounts_add: %s\n" % e) ``` @@ -4365,7 +4444,7 @@ with apideck.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **payment** | [**Payment**](Payment.md)| | + **ledger_account** | [**LedgerAccount**](LedgerAccount.md)| | **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] @@ -4373,7 +4452,7 @@ Name | Type | Description | Notes ### Return type -[**CreatePaymentResponse**](CreatePaymentResponse.md) +[**CreateLedgerAccountResponse**](CreateLedgerAccountResponse.md) ### Authorization @@ -4389,7 +4468,610 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| -**201** | Payment created | - | +**201** | LedgerAccount created | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **ledger_accounts_all** +> GetLedgerAccountsResponse ledger_accounts_all() + +List Ledger Accounts + +List Ledger Accounts + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.get_ledger_accounts_response import GetLedgerAccountsResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounting_api.AccountingApi(api_client) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Ledger Accounts + api_response = api_instance.ledger_accounts_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, pass_through=pass_through, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->ledger_accounts_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetLedgerAccountsResponse**](GetLedgerAccountsResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | LedgerAccounts | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **ledger_accounts_delete** +> DeleteLedgerAccountResponse ledger_accounts_delete(id) + +Delete Ledger Account + +Delete Ledger Account + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import accounting_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.delete_ledger_account_response import DeleteLedgerAccountResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounting_api.AccountingApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Delete Ledger Account + api_response = api_instance.ledger_accounts_delete(id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->ledger_accounts_delete: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Delete Ledger Account + api_response = api_instance.ledger_accounts_delete(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->ledger_accounts_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + +### Return type + +[**DeleteLedgerAccountResponse**](DeleteLedgerAccountResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | LedgerAccount deleted | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **ledger_accounts_one** +> GetLedgerAccountResponse ledger_accounts_one(id) + +Get Ledger Account + +Get Ledger Account + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import accounting_api +from apideck.model.get_ledger_account_response import GetLedgerAccountResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounting_api.AccountingApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get Ledger Account + api_response = api_instance.ledger_accounts_one(id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->ledger_accounts_one: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Ledger Account + api_response = api_instance.ledger_accounts_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->ledger_accounts_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetLedgerAccountResponse**](GetLedgerAccountResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | LedgerAccount | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **ledger_accounts_update** +> UpdateLedgerAccountResponse ledger_accounts_update(id, ledger_account) + +Update Ledger Account + +Update Ledger Account + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import accounting_api +from apideck.model.ledger_account import LedgerAccount +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.update_ledger_account_response import UpdateLedgerAccountResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounting_api.AccountingApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + ledger_account = LedgerAccount() # LedgerAccount | + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Update Ledger Account + api_response = api_instance.ledger_accounts_update(id, ledger_account) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->ledger_accounts_update: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Update Ledger Account + api_response = api_instance.ledger_accounts_update(id, ledger_account, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->ledger_accounts_update: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **ledger_account** | [**LedgerAccount**](LedgerAccount.md)| | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + +### Return type + +[**UpdateLedgerAccountResponse**](UpdateLedgerAccountResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | LedgerAccount updated | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **payments_add** +> CreatePaymentResponse payments_add(payment) + +Create Payment + +Create Payment + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import accounting_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.create_payment_response import CreatePaymentResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.payment import Payment +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = accounting_api.AccountingApi(api_client) + payment = Payment( + currency=Currency("USD"), + currency_rate=0.69, + total_amount=49.99, + reference="123456", + payment_method="Credit Card", + payment_method_reference="123456", + payment_method_id="123456", + accounts_receivable_account_type="Account", + accounts_receivable_account_id="123456", + account=LinkedLedgerAccount( + id="123456", + nominal_code="N091", + code="453", + ), + transaction_date=dateutil_parser('2021-05-01T12:00:00Z'), + customer=LinkedCustomer( + id="12345", + display_name="Windsurf Shop", + name="Windsurf Shop", + ), + supplier=LinkedSupplier( + id="12345", + display_name="Windsurf Shop", + address=Address( + id="123", + type="primary", + string="25 Spring Street, Blackburn, VIC 3130", + name="HQ US", + line1="Main street", + line2="apt #", + line3="Suite #", + line4="delivery instructions", + street_number="25", + city="San Francisco", + state="CA", + postal_code="94104", + country="US", + latitude="40.759211", + longitude="-73.984638", + county="Santa Clara", + contact_name="Elon Musk", + salutation="Mr", + phone_number="111-111-1111", + fax="122-111-1111", + email="elon@musk.com", + website="https://elonmusk.com", + row_version="1-12345", + ), + ), + reconciled=True, + status="authorised", + type="accounts_receivable", + allocations=[ + PaymentAllocations( + id="123456", + type="invoice", + amount=49.99, + ), + ], + note="Some notes about this payment", + row_version="1-12345", + display_id="123456", + ) # Payment | + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + + # example passing only required values which don't have defaults set + try: + # Create Payment + api_response = api_instance.payments_add(payment) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->payments_add: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Create Payment + api_response = api_instance.payments_add(payment, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling AccountingApi->payments_add: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **payment** | [**Payment**](Payment.md)| | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + +### Return type + +[**CreatePaymentResponse**](CreatePaymentResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Payment created | - | **400** | Bad Request | - | **401** | Unauthorized | - | **402** | Payment Required | - | @@ -4414,6 +5096,7 @@ List Payments import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.get_payments_response import GetPaymentsResponse @@ -4448,13 +5131,15 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Payments - api_response = api_instance.payments_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.payments_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->payments_all: %s\n" % e) @@ -4470,7 +5155,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4656,6 +5343,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -4669,7 +5357,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Payment - api_response = api_instance.payments_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.payments_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->payments_one: %s\n" % e) @@ -4685,6 +5373,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4767,6 +5456,7 @@ with apideck.ApiClient(configuration) as api_client: reference="123456", payment_method="Credit Card", payment_method_reference="123456", + payment_method_id="123456", accounts_receivable_account_type="Account", accounts_receivable_account_id="123456", account=LinkedLedgerAccount( @@ -4902,6 +5592,7 @@ import time import apideck from apideck.api import accounting_api from apideck.model.profit_and_loss_filter import ProfitAndLossFilter +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse @@ -4940,12 +5631,14 @@ with apideck.ApiClient(configuration) as api_client: start_date="2021-01-01", end_date="2021-12-31", ) # ProfitAndLossFilter | Apply filters (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # Get Profit and Loss - api_response = api_instance.profit_and_loss_one(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, filter=filter) + api_response = api_instance.profit_and_loss_one(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, filter=filter, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->profit_and_loss_one: %s\n" % e) @@ -4961,6 +5654,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **filter** | **ProfitAndLossFilter**| Apply filters | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -5036,13 +5731,15 @@ with apideck.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = accounting_api.AccountingApi(api_client) supplier = Supplier( - company_name="SpaceX", + display_id="EMP00101", display_name="Windsurf Shop", + company_name="SpaceX", title="CEO", first_name="Elon", middle_name="D.", last_name="Musk", suffix="Jr.", + individual=True, addresses=[ Address( id="123", @@ -5070,7 +5767,6 @@ with apideck.ApiClient(configuration) as api_client: row_version="1-12345", ), ], - notes="Some notes about this supplier", phone_numbers=[ PhoneNumber( id="12345", @@ -5097,17 +5793,18 @@ with apideck.ApiClient(configuration) as api_client: ], bank_accounts=[ BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), ], + notes="Some notes about this supplier", tax_rate=LinkedTaxRate( id="123456", ), @@ -5198,7 +5895,9 @@ List Suppliers import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.suppliers_filter import SuppliersFilter from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse @@ -5232,13 +5931,19 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + filter = SuppliersFilter( + company_name="SpaceX", + email="elon@spacex.com", + ) # SuppliersFilter | Apply filters (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Suppliers - api_response = api_instance.suppliers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.suppliers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->suppliers_all: %s\n" % e) @@ -5254,7 +5959,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **filter** | **SuppliersFilter**| Apply filters | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -5440,6 +6148,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -5453,7 +6162,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Supplier - api_response = api_instance.suppliers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.suppliers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->suppliers_one: %s\n" % e) @@ -5469,6 +6178,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -5545,13 +6255,15 @@ with apideck.ApiClient(configuration) as api_client: api_instance = accounting_api.AccountingApi(api_client) id = "id_example" # str | ID of the record you are acting upon. supplier = Supplier( - company_name="SpaceX", + display_id="EMP00101", display_name="Windsurf Shop", + company_name="SpaceX", title="CEO", first_name="Elon", middle_name="D.", last_name="Musk", suffix="Jr.", + individual=True, addresses=[ Address( id="123", @@ -5579,7 +6291,6 @@ with apideck.ApiClient(configuration) as api_client: row_version="1-12345", ), ], - notes="Some notes about this supplier", phone_numbers=[ PhoneNumber( id="12345", @@ -5606,17 +6317,18 @@ with apideck.ApiClient(configuration) as api_client: ], bank_accounts=[ BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), ], + notes="Some notes about this supplier", tax_rate=LinkedTaxRate( id="123456", ), @@ -5833,6 +6545,7 @@ List Tax Rates. Note: Not all connectors return the actual rate/percentage value import time import apideck from apideck.api import accounting_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse @@ -5868,7 +6581,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = TaxRatesFilter( assets=True, equity=True, @@ -5876,12 +6589,14 @@ with apideck.ApiClient(configuration) as api_client: liabilities=True, revenue=True, ) # TaxRatesFilter | Apply filters (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Tax Rates - api_response = api_instance.tax_rates_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.tax_rates_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->tax_rates_all: %s\n" % e) @@ -5897,8 +6612,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **TaxRatesFilter**| Apply filters | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -6084,6 +6801,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -6097,7 +6815,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Tax Rate - api_response = api_instance.tax_rates_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.tax_rates_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AccountingApi->tax_rates_one: %s\n" % e) @@ -6113,6 +6831,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/AtsApi.md b/docs/apis/AtsApi.md index 07e5cd028..a7a606812 100644 --- a/docs/apis/AtsApi.md +++ b/docs/apis/AtsApi.md @@ -260,16 +260,17 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = JobsFilter( job_id="1234", ) # JobsFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List applicants - api_response = api_instance.applicants_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.applicants_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AtsApi->applicants_all: %s\n" % e) @@ -285,8 +286,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **JobsFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -365,6 +367,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -378,7 +381,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get applicant - api_response = api_instance.applicants_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.applicants_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AtsApi->applicants_one: %s\n" % e) @@ -394,6 +397,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -472,13 +476,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Jobs - api_response = api_instance.jobs_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.jobs_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AtsApi->jobs_all: %s\n" % e) @@ -494,7 +499,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -573,6 +579,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -586,7 +593,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Job - api_response = api_instance.jobs_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.jobs_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling AtsApi->jobs_one: %s\n" % e) @@ -602,6 +609,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/ConnectorApi.md b/docs/apis/ConnectorApi.md index 8410802e8..fd5850dc1 100644 --- a/docs/apis/ConnectorApi.md +++ b/docs/apis/ConnectorApi.md @@ -257,7 +257,7 @@ with apideck.ApiClient(configuration) as api_client: api_instance = connector_api.ConnectorApi(api_client) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = ApisFilter( status=ApiStatus("live"), ) # ApisFilter | Apply filters (optional) @@ -279,7 +279,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **app_id** | **str**| The ID of your Unify application | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **ApisFilter**| Apply filters | [optional] ### Return type @@ -650,7 +650,7 @@ with apideck.ApiClient(configuration) as api_client: api_instance = connector_api.ConnectorApi(api_client) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = ConnectorsFilter( unified_api=UnifiedApiId("crm"), status=ConnectorStatus("live"), @@ -673,7 +673,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **app_id** | **str**| The ID of your Unify application | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **ConnectorsFilter**| Apply filters | [optional] ### Return type diff --git a/docs/apis/CrmApi.md b/docs/apis/CrmApi.md index e93de9776..9b8778761 100644 --- a/docs/apis/CrmApi.md +++ b/docs/apis/CrmApi.md @@ -261,6 +261,7 @@ from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.activities_filter import ActivitiesFilter from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.not_found_response import NotFoundResponse from pprint import pprint @@ -290,13 +291,17 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + filter = ActivitiesFilter( + updated_since=dateutil_parser('2020-09-30T07:43:32Z'), + ) # ActivitiesFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List activities - api_response = api_instance.activities_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.activities_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->activities_all: %s\n" % e) @@ -312,7 +317,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **filter** | **ActivitiesFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -498,6 +505,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -511,7 +519,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get activity - api_response = api_instance.activities_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.activities_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->activities_one: %s\n" % e) @@ -527,6 +535,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -820,14 +829,14 @@ with apideck.ApiClient(configuration) as api_client: last_name="Musk", bank_accounts=[ BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), ], @@ -1019,7 +1028,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = CompaniesFilter( name="SpaceX", ) # CompaniesFilter | Apply filters (optional) @@ -1027,12 +1036,13 @@ with apideck.ApiClient(configuration) as api_client: by="created_at", direction=SortDirection("asc"), ) # CompaniesSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List companies - api_response = api_instance.companies_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort) + api_response = api_instance.companies_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->companies_all: %s\n" % e) @@ -1048,9 +1058,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **CompaniesFilter**| Apply filters | [optional] **sort** | **CompaniesSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1236,6 +1247,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1249,7 +1261,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get company - api_response = api_instance.companies_one(id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.companies_one(id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->companies_one: %s\n" % e) @@ -1265,6 +1277,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1362,14 +1375,14 @@ with apideck.ApiClient(configuration) as api_client: last_name="Musk", bank_accounts=[ BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), ], @@ -1763,23 +1776,25 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = ContactsFilter( name="Elon Musk", first_name="Elon", last_name="Musk", email="elon@tesla.com", + company_id="12345", ) # ContactsFilter | Apply filters (optional) sort = ContactsSort( by="created_at", direction=SortDirection("asc"), ) # ContactsSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List contacts - api_response = api_instance.contacts_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort) + api_response = api_instance.contacts_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->contacts_all: %s\n" % e) @@ -1795,9 +1810,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **ContactsFilter**| Apply filters | [optional] **sort** | **ContactsSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1983,6 +1999,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1996,7 +2013,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get contact - api_response = api_instance.contacts_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.contacts_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->contacts_one: %s\n" % e) @@ -2012,6 +2029,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2487,7 +2505,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = LeadsFilter( name="Elon Musk", first_name="Elon", @@ -2498,12 +2516,13 @@ with apideck.ApiClient(configuration) as api_client: by="created_at", direction=SortDirection("asc"), ) # LeadsSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List leads - api_response = api_instance.leads_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort) + api_response = api_instance.leads_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->leads_all: %s\n" % e) @@ -2519,9 +2538,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **LeadsFilter**| Apply filters | [optional] **sort** | **LeadsSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2707,6 +2727,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2720,7 +2741,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get lead - api_response = api_instance.leads_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.leads_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->leads_one: %s\n" % e) @@ -2736,6 +2757,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3125,13 +3147,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List notes - api_response = api_instance.notes_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.notes_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->notes_all: %s\n" % e) @@ -3147,7 +3170,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3333,6 +3357,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -3346,7 +3371,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get note - api_response = api_instance.notes_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.notes_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->notes_one: %s\n" % e) @@ -3362,6 +3387,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3574,6 +3600,9 @@ with apideck.ApiClient(configuration) as api_client: lead_id="12345", lead_source="Website", contact_id="12345", + contact_ids=[ + "12345", + ], company_id="12345", company_name="Copper", owner_id="12345", @@ -3704,7 +3733,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = OpportunitiesFilter( title="Tesla deal", status="Completed", @@ -3716,12 +3745,13 @@ with apideck.ApiClient(configuration) as api_client: by="created_at", direction=SortDirection("asc"), ) # OpportunitiesSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List opportunities - api_response = api_instance.opportunities_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort) + api_response = api_instance.opportunities_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->opportunities_all: %s\n" % e) @@ -3737,9 +3767,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **OpportunitiesFilter**| Apply filters | [optional] **sort** | **OpportunitiesSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3925,6 +3956,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -3938,7 +3970,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get opportunity - api_response = api_instance.opportunities_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.opportunities_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->opportunities_one: %s\n" % e) @@ -3954,6 +3986,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4048,6 +4081,9 @@ with apideck.ApiClient(configuration) as api_client: lead_id="12345", lead_source="Website", contact_id="12345", + contact_ids=[ + "12345", + ], company_id="12345", company_name="Copper", owner_id="12345", @@ -4301,13 +4337,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List pipelines - api_response = api_instance.pipelines_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.pipelines_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->pipelines_all: %s\n" % e) @@ -4323,7 +4360,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4509,6 +4547,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -4522,7 +4561,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get pipeline - api_response = api_instance.pipelines_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.pipelines_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->pipelines_one: %s\n" % e) @@ -4538,6 +4577,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4909,13 +4949,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List users - api_response = api_instance.users_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.users_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->users_all: %s\n" % e) @@ -4931,7 +4972,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -5117,6 +5159,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -5130,7 +5173,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get user - api_response = api_instance.users_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.users_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CrmApi->users_one: %s\n" % e) @@ -5146,6 +5189,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/CustomerSupportApi.md b/docs/apis/CustomerSupportApi.md index 2dc09142e..b84957523 100644 --- a/docs/apis/CustomerSupportApi.md +++ b/docs/apis/CustomerSupportApi.md @@ -109,14 +109,14 @@ with apideck.ApiClient(configuration) as api_client: tax_number="US123945459", currency=Currency("USD"), bank_accounts=BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), status="active", @@ -232,13 +232,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Customer Support Customers - api_response = api_instance.customers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.customers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CustomerSupportApi->customers_all: %s\n" % e) @@ -254,7 +255,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -440,6 +442,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -453,7 +456,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Customer Support Customer - api_response = api_instance.customers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.customers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling CustomerSupportApi->customers_one: %s\n" % e) @@ -469,6 +472,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -597,14 +601,14 @@ with apideck.ApiClient(configuration) as api_client: tax_number="US123945459", currency=Currency("USD"), bank_accounts=BankAccount( + account_number="123465", + account_name="SPACEX LLC", + account_type="credit_card", iban="CH2989144532982975332", bic="AUDSCHGGXXX", bsb_number="062-001", branch_identifier="001", bank_code="BNH", - account_number="123465", - account_name="SPACEX LLC", - account_type="credit_card", currency=Currency("USD"), ), status="active", diff --git a/docs/apis/EcommerceApi.md b/docs/apis/EcommerceApi.md new file mode 100644 index 000000000..7ce881f4b --- /dev/null +++ b/docs/apis/EcommerceApi.md @@ -0,0 +1,761 @@ +# apideck.EcommerceApi + +All URIs are relative to *https://unify.apideck.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**customers_all2**](EcommerceApi.md#customers_all2) | **GET** /ecommerce/customers | List Customers +[**customers_one2**](EcommerceApi.md#customers_one2) | **GET** /ecommerce/customers/{id} | Get Customer +[**orders_all**](EcommerceApi.md#orders_all) | **GET** /ecommerce/orders | List Orders +[**orders_one**](EcommerceApi.md#orders_one) | **GET** /ecommerce/orders/{id} | Get Order +[**products_all**](EcommerceApi.md#products_all) | **GET** /ecommerce/products | List Products +[**products_one**](EcommerceApi.md#products_one) | **GET** /ecommerce/products/{id} | Get Product +[**stores_one**](EcommerceApi.md#stores_one) | **GET** /ecommerce/store | Get Store + + +# **customers_all2** +> GetEcommerceCustomersResponse customers_all2() + +List Customers + +List Customers + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import ecommerce_api +from apideck.model.get_ecommerce_customers_response import GetEcommerceCustomersResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.ecommerce_customers_filter import EcommerceCustomersFilter +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = ecommerce_api.EcommerceApi(api_client) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + filter = EcommerceCustomersFilter( + email="elon@musk.com", + phone_number="111-111-1111", + ) # EcommerceCustomersFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Customers + api_response = api_instance.customers_all2(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->customers_all2: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **filter** | **EcommerceCustomersFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetEcommerceCustomersResponse**](GetEcommerceCustomersResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customers | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **customers_one2** +> GetEcommerceCustomerResponse customers_one2(id) + +Get Customer + +Get Customer + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import ecommerce_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.get_ecommerce_customer_response import GetEcommerceCustomerResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = ecommerce_api.EcommerceApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get Customer + api_response = api_instance.customers_one2(id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->customers_one2: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Customer + api_response = api_instance.customers_one2(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->customers_one2: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetEcommerceCustomerResponse**](GetEcommerceCustomerResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Customers | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **orders_all** +> GetEcommerceOrdersResponse orders_all() + +List Orders + +List Orders + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import ecommerce_api +from apideck.model.ecommerce_orders_filter import EcommerceOrdersFilter +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.get_ecommerce_orders_response import GetEcommerceOrdersResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = ecommerce_api.EcommerceApi(api_client) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + filter = EcommerceOrdersFilter( + email="elon@musk.com", + ) # EcommerceOrdersFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Orders + api_response = api_instance.orders_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->orders_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **filter** | **EcommerceOrdersFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetEcommerceOrdersResponse**](GetEcommerceOrdersResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Orders | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **orders_one** +> GetEcommerceOrderResponse orders_one(id) + +Get Order + +Get Order + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import ecommerce_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.get_ecommerce_order_response import GetEcommerceOrderResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = ecommerce_api.EcommerceApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get Order + api_response = api_instance.orders_one(id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->orders_one: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Order + api_response = api_instance.orders_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->orders_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetEcommerceOrderResponse**](GetEcommerceOrderResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Orders | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **products_all** +> GetProductsResponse products_all() + +List Products + +List Products + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import ecommerce_api +from apideck.model.get_products_response import GetProductsResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = ecommerce_api.EcommerceApi(api_client) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Products + api_response = api_instance.products_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->products_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetProductsResponse**](GetProductsResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Products | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **products_one** +> GetProductResponse products_one(id) + +Get Product + +Get Product + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import ecommerce_api +from apideck.model.get_product_response import GetProductResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = ecommerce_api.EcommerceApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get Product + api_response = api_instance.products_one(id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->products_one: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Product + api_response = api_instance.products_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->products_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetProductResponse**](GetProductResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Products | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **stores_one** +> GetStoreResponse stores_one() + +Get Store + +Get Store + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import ecommerce_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.get_store_response import GetStoreResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = ecommerce_api.EcommerceApi(api_client) + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Store + api_response = api_instance.stores_one(consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling EcommerceApi->stores_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetStoreResponse**](GetStoreResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Stores | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + diff --git a/docs/apis/FileStorageApi.md b/docs/apis/FileStorageApi.md index 084dc9d92..2d7353a28 100644 --- a/docs/apis/FileStorageApi.md +++ b/docs/apis/FileStorageApi.md @@ -19,6 +19,7 @@ Method | HTTP request | Description [**files_download**](FileStorageApi.md#files_download) | **GET** /file-storage/files/{id}/download | Download File [**files_one**](FileStorageApi.md#files_one) | **GET** /file-storage/files/{id} | Get File [**files_search**](FileStorageApi.md#files_search) | **POST** /file-storage/files/search | Search Files +[**files_update**](FileStorageApi.md#files_update) | **PATCH** /file-storage/files/{id} | Rename or move File [**folders_add**](FileStorageApi.md#folders_add) | **POST** /file-storage/folders | Create Folder [**folders_copy**](FileStorageApi.md#folders_copy) | **POST** /file-storage/folders/{id}/copy | Copy Folder [**folders_delete**](FileStorageApi.md#folders_delete) | **DELETE** /file-storage/folders/{id} | Delete Folder @@ -197,16 +198,17 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = DriveGroupsFilter( parent_group_id="1234", ) # DriveGroupsFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List DriveGroups - api_response = api_instance.drive_groups_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.drive_groups_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->drive_groups_all: %s\n" % e) @@ -222,8 +224,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **DriveGroupsFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -409,6 +412,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -422,7 +426,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get DriveGroup - api_response = api_instance.drive_groups_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.drive_groups_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->drive_groups_one: %s\n" % e) @@ -438,6 +442,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -742,16 +747,17 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = DrivesFilter( group_id="1234", ) # DrivesFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Drives - api_response = api_instance.drives_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.drives_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->drives_all: %s\n" % e) @@ -767,8 +773,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **DrivesFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -954,6 +961,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -967,7 +975,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Drive - api_response = api_instance.drives_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.drives_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->drives_one: %s\n" % e) @@ -983,6 +991,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1140,6 +1149,7 @@ List Files import time import apideck from apideck.api import file_storage_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.files_sort import FilesSort @@ -1176,7 +1186,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = FilesFilter( drive_id="1234", folder_id="root", @@ -1186,12 +1196,14 @@ with apideck.ApiClient(configuration) as api_client: by="updated_at", direction=SortDirection("asc"), ) # FilesSort | Apply sorting (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Files - api_response = api_instance.files_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort) + api_response = api_instance.files_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->files_all: %s\n" % e) @@ -1207,9 +1219,11 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **FilesFilter**| Apply filters | [optional] **sort** | **FilesSort**| Apply sorting | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1393,6 +1407,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1406,7 +1421,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Download File - api_response = api_instance.files_download(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.files_download(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->files_download: %s\n" % e) @@ -1421,6 +1436,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1499,6 +1515,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1512,7 +1529,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get File - api_response = api_instance.files_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.files_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->files_one: %s\n" % e) @@ -1528,6 +1545,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1572,6 +1590,7 @@ Search Files import time import apideck from apideck.api import file_storage_api +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.bad_request_response import BadRequestResponse from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse @@ -1609,6 +1628,8 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + pass_through = PassThroughQuery() # PassThroughQuery | Optional unmapped key/values that will be passed through to downstream as query parameters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1622,7 +1643,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Search Files - api_response = api_instance.files_search(files_search, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.files_search(files_search, consumer_id=consumer_id, app_id=app_id, service_id=service_id, pass_through=pass_through, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->files_search: %s\n" % e) @@ -1637,6 +1658,8 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **pass_through** | **PassThroughQuery**| Optional unmapped key/values that will be passed through to downstream as query parameters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1652,6 +1675,120 @@ Name | Type | Description | Notes - **Accept**: application/json +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Files | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **files_update** +> UpdateFileResponse files_update(id, update_file_request) + +Rename or move File + +Rename or move File + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import file_storage_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.update_file_response import UpdateFileResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.update_file_request import UpdateFileRequest +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = file_storage_api.FileStorageApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + update_file_request = UpdateFileRequest( + name="New Name.pdf", + description="Renamed PDF Document", + parent_folder_id="1234", + ) # UpdateFileRequest | + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Rename or move File + api_response = api_instance.files_update(id, update_file_request) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling FileStorageApi->files_update: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Rename or move File + api_response = api_instance.files_update(id, update_file_request, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling FileStorageApi->files_update: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **update_file_request** | [**UpdateFileRequest**](UpdateFileRequest.md)| | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + +### Return type + +[**UpdateFileResponse**](UpdateFileResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + ### HTTP response details | Status code | Description | Response headers | @@ -1721,6 +1858,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1734,7 +1872,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Create Folder - api_response = api_instance.folders_add(create_folder_request, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.folders_add(create_folder_request, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->folders_add: %s\n" % e) @@ -1750,6 +1888,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1833,6 +1972,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1846,7 +1986,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Copy Folder - api_response = api_instance.folders_copy(id, copy_folder_request, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.folders_copy(id, copy_folder_request, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->folders_copy: %s\n" % e) @@ -1863,6 +2003,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2048,6 +2189,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2061,7 +2203,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Folder - api_response = api_instance.folders_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.folders_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->folders_one: %s\n" % e) @@ -2077,6 +2219,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2382,13 +2525,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List SharedLinks - api_response = api_instance.shared_links_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.shared_links_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->shared_links_all: %s\n" % e) @@ -2404,7 +2548,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2590,6 +2735,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2603,7 +2749,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Shared Link - api_response = api_instance.shared_links_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.shared_links_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->shared_links_one: %s\n" % e) @@ -2619,6 +2765,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3143,6 +3290,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -3156,7 +3304,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Upload Session - api_response = api_instance.upload_sessions_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.upload_sessions_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling FileStorageApi->upload_sessions_one: %s\n" % e) @@ -3172,6 +3320,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/HrisApi.md b/docs/apis/HrisApi.md index 15b4539f1..31baef248 100644 --- a/docs/apis/HrisApi.md +++ b/docs/apis/HrisApi.md @@ -22,8 +22,6 @@ Method | HTTP request | Description [**employees_delete**](HrisApi.md#employees_delete) | **DELETE** /hris/employees/{id} | Delete Employee [**employees_one**](HrisApi.md#employees_one) | **GET** /hris/employees/{id} | Get Employee [**employees_update**](HrisApi.md#employees_update) | **PATCH** /hris/employees/{id} | Update Employee -[**jobs_all**](HrisApi.md#jobs_all) | **GET** /hris/jobs/employees/{employee_id} | List Jobs -[**jobs_one**](HrisApi.md#jobs_one) | **GET** /hris/jobs/employees/{employee_id}/jobs/{job_id} | One Job [**payrolls_all**](HrisApi.md#payrolls_all) | **GET** /hris/payrolls | List Payroll [**payrolls_one**](HrisApi.md#payrolls_one) | **GET** /hris/payrolls/{payroll_id} | Get Payroll [**time_off_requests_add**](HrisApi.md#time_off_requests_add) | **POST** /hris/time-off-requests | Create Time Off Request @@ -248,13 +246,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Companies - api_response = api_instance.companies_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.companies_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->companies_all: %s\n" % e) @@ -270,7 +269,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -456,6 +456,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -469,7 +470,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Company - api_response = api_instance.companies_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.companies_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->companies_one: %s\n" % e) @@ -485,6 +486,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -843,13 +845,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Departments - api_response = api_instance.departments_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.departments_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->departments_all: %s\n" % e) @@ -865,7 +868,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1051,6 +1055,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1064,7 +1069,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Department - api_response = api_instance.departments_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.departments_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->departments_one: %s\n" % e) @@ -1080,6 +1085,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1277,6 +1283,7 @@ with apideck.ApiClient(configuration) as api_client: start_date="2022-04-08", end_date="2022-04-21", ) # PayrollsFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1290,7 +1297,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # List Employee Payrolls - api_response = api_instance.employee_payrolls_all(employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, filter=filter) + api_response = api_instance.employee_payrolls_all(employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->employee_payrolls_all: %s\n" % e) @@ -1307,6 +1314,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **filter** | **PayrollsFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1386,6 +1394,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1399,7 +1408,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Employee Payroll - api_response = api_instance.employee_payrolls_one(payroll_id, employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.employee_payrolls_one(payroll_id, employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->employee_payrolls_one: %s\n" % e) @@ -1416,6 +1425,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1494,6 +1504,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1507,7 +1518,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # List Employee Schedules - api_response = api_instance.employee_schedules_all(employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.employee_schedules_all(employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->employee_schedules_all: %s\n" % e) @@ -1523,6 +1534,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1607,7 +1619,7 @@ with apideck.ApiClient(configuration) as api_client: salutation="Mr", title="CEO", marital_status="married", - partner=EmployeePartner( + partner=Person( first_name="Elon", last_name="Musk", middle_name="D.", @@ -1630,7 +1642,7 @@ with apideck.ApiClient(configuration) as api_client: employment_end_date="2028-10-26", leaving_reason="resigned", employee_number="123456-AB", - employment_status="active", + employment_status=EmploymentStatus("active"), employment_role=EmployeeEmploymentRole( type="contractor", sub_type="full_time", @@ -1640,6 +1652,7 @@ with apideck.ApiClient(configuration) as api_client: first_name="Elon", last_name="Musk", email="elon@musk.com", + employment_status=EmploymentStatus("active"), ), direct_reports=["a0d636c6-43b3-4bde-8c70-85b707d992f4","a98lfd96-43b3-4bde-8c70-85b707d992e6"], social_security_number="123456789", @@ -1855,6 +1868,7 @@ import apideck from apideck.api import hris_api from apideck.model.bad_request_response import BadRequestResponse from apideck.model.get_employees_response import GetEmployeesResponse +from apideck.model.employees_sort import EmployeesSort from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.employees_filter import EmployeesFilter from apideck.model.unexpected_error_response import UnexpectedErrorResponse @@ -1888,7 +1902,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = EmployeesFilter( company_id="1234", email="elon@tesla.com", @@ -1898,13 +1912,19 @@ with apideck.ApiClient(configuration) as api_client: manager_id="1234", employment_status="active", employee_number="123456-AB", + department_id="1234", ) # EmployeesFilter | Apply filters (optional) + sort = EmployeesSort( + by="created_at", + direction=SortDirection("asc"), + ) # EmployeesSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Employees - api_response = api_instance.employees_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.employees_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->employees_all: %s\n" % e) @@ -1920,8 +1940,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **EmployeesFilter**| Apply filters | [optional] + **sort** | **EmployeesSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2107,6 +2129,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2120,7 +2143,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Employee - api_response = api_instance.employees_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.employees_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->employees_one: %s\n" % e) @@ -2136,6 +2159,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2221,7 +2245,7 @@ with apideck.ApiClient(configuration) as api_client: salutation="Mr", title="CEO", marital_status="married", - partner=EmployeePartner( + partner=Person( first_name="Elon", last_name="Musk", middle_name="D.", @@ -2244,7 +2268,7 @@ with apideck.ApiClient(configuration) as api_client: employment_end_date="2028-10-26", leaving_reason="resigned", employee_number="123456-AB", - employment_status="active", + employment_status=EmploymentStatus("active"), employment_role=EmployeeEmploymentRole( type="contractor", sub_type="full_time", @@ -2254,6 +2278,7 @@ with apideck.ApiClient(configuration) as api_client: first_name="Elon", last_name="Musk", email="elon@musk.com", + employment_status=EmploymentStatus("active"), ), direct_reports=["a0d636c6-43b3-4bde-8c70-85b707d992f4","a98lfd96-43b3-4bde-8c70-85b707d992e6"], social_security_number="123456789", @@ -2453,222 +2478,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) -# **jobs_all** -> GetHrisJobsResponse jobs_all(employee_id) - -List Jobs - -List Jobs for employee. - -### Example - -* Api Key Authentication (apiKey): - -```python -import time -import apideck -from apideck.api import hris_api -from apideck.model.bad_request_response import BadRequestResponse -from apideck.model.payment_required_response import PaymentRequiredResponse -from apideck.model.get_hris_jobs_response import GetHrisJobsResponse -from apideck.model.unexpected_error_response import UnexpectedErrorResponse -from apideck.model.unauthorized_response import UnauthorizedResponse -from apideck.model.unprocessable_response import UnprocessableResponse -from apideck.model.not_found_response import NotFoundResponse -from pprint import pprint -# Defining the host is optional and defaults to https://unify.apideck.com -# See configuration.py for a list of all supported configuration parameters. -configuration = apideck.Configuration( - host = "https://unify.apideck.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 API key authorization: apiKey -configuration.api_key['apiKey'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKey'] = 'Bearer' - -# Enter a context with an instance of the API client -with apideck.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = hris_api.HrisApi(api_client) - employee_id = "employee_id_example" # str | ID of the employee you are acting upon. - raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False - consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) - app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) - service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) - - # example passing only required values which don't have defaults set - try: - # List Jobs - api_response = api_instance.jobs_all(employee_id) - pprint(api_response) - except apideck.ApiException as e: - print("Exception when calling HrisApi->jobs_all: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # List Jobs - api_response = api_instance.jobs_all(employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) - pprint(api_response) - except apideck.ApiException as e: - print("Exception when calling HrisApi->jobs_all: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **employee_id** | **str**| ID of the employee you are acting upon. | - **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False - **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] - **app_id** | **str**| The ID of your Unify application | [optional] - **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] - -### Return type - -[**GetHrisJobsResponse**](GetHrisJobsResponse.md) - -### Authorization - -[apiKey](../../README.md#apiKey) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Jobs | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**402** | Payment Required | - | -**404** | The specified resource was not found | - | -**422** | Unprocessable | - | -**0** | Unexpected error | - | - -[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - -# **jobs_one** -> GetHrisJobResponse jobs_one(job_id, employee_id) - -One Job - -A Job for employee. - -### Example - -* Api Key Authentication (apiKey): - -```python -import time -import apideck -from apideck.api import hris_api -from apideck.model.bad_request_response import BadRequestResponse -from apideck.model.get_hris_job_response import GetHrisJobResponse -from apideck.model.payment_required_response import PaymentRequiredResponse -from apideck.model.unexpected_error_response import UnexpectedErrorResponse -from apideck.model.unauthorized_response import UnauthorizedResponse -from apideck.model.unprocessable_response import UnprocessableResponse -from apideck.model.not_found_response import NotFoundResponse -from pprint import pprint -# Defining the host is optional and defaults to https://unify.apideck.com -# See configuration.py for a list of all supported configuration parameters. -configuration = apideck.Configuration( - host = "https://unify.apideck.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 API key authorization: apiKey -configuration.api_key['apiKey'] = 'YOUR_API_KEY' - -# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -# configuration.api_key_prefix['apiKey'] = 'Bearer' - -# Enter a context with an instance of the API client -with apideck.ApiClient(configuration) as api_client: - # Create an instance of the API class - api_instance = hris_api.HrisApi(api_client) - job_id = "job_id_example" # str | ID of the job you are acting upon. - employee_id = "employee_id_example" # str | ID of the employee you are acting upon. - raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False - consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) - app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) - service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) - - # example passing only required values which don't have defaults set - try: - # One Job - api_response = api_instance.jobs_one(job_id, employee_id) - pprint(api_response) - except apideck.ApiException as e: - print("Exception when calling HrisApi->jobs_one: %s\n" % e) - - # example passing only required values which don't have defaults set - # and optional values - try: - # One Job - api_response = api_instance.jobs_one(job_id, employee_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) - pprint(api_response) - except apideck.ApiException as e: - print("Exception when calling HrisApi->jobs_one: %s\n" % e) -``` - - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **job_id** | **str**| ID of the job you are acting upon. | - **employee_id** | **str**| ID of the employee you are acting upon. | - **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False - **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] - **app_id** | **str**| The ID of your Unify application | [optional] - **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] - -### Return type - -[**GetHrisJobResponse**](GetHrisJobResponse.md) - -### Authorization - -[apiKey](../../README.md#apiKey) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - - -### HTTP response details - -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | Job | - | -**400** | Bad Request | - | -**401** | Unauthorized | - | -**402** | Payment Required | - | -**404** | The specified resource was not found | - | -**422** | Unprocessable | - | -**0** | Unexpected error | - | - -[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) - # **payrolls_all** > GetPayrollsResponse payrolls_all() @@ -2722,12 +2531,13 @@ with apideck.ApiClient(configuration) as api_client: start_date="2022-04-08", end_date="2022-04-21", ) # PayrollsFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Payroll - api_response = api_instance.payrolls_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, filter=filter) + api_response = api_instance.payrolls_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->payrolls_all: %s\n" % e) @@ -2743,6 +2553,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **filter** | **PayrollsFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2821,6 +2632,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2834,7 +2646,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Payroll - api_response = api_instance.payrolls_one(payroll_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.payrolls_one(payroll_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->payrolls_one: %s\n" % e) @@ -2850,6 +2662,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3053,19 +2866,20 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = TimeOffRequestsFilter( start_date="2022-04-08", end_date="2022-04-21", employee_id="1234", time_off_request_status="", ) # TimeOffRequestsFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Time Off Requests - api_response = api_instance.time_off_requests_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter) + api_response = api_instance.time_off_requests_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->time_off_requests_all: %s\n" % e) @@ -3081,8 +2895,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **TimeOffRequestsFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3268,6 +3083,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -3281,7 +3097,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Time Off Request - api_response = api_instance.time_off_requests_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.time_off_requests_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling HrisApi->time_off_requests_one: %s\n" % e) @@ -3297,6 +3113,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/IssueTrackingApi.md b/docs/apis/IssueTrackingApi.md new file mode 100644 index 000000000..cf7041394 --- /dev/null +++ b/docs/apis/IssueTrackingApi.md @@ -0,0 +1,1761 @@ +# apideck.IssueTrackingApi + +All URIs are relative to *https://unify.apideck.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**collection_tags_all**](IssueTrackingApi.md#collection_tags_all) | **GET** /issue-tracking/collections/{collection_id}/tags | List Tags +[**collection_ticket_comments_add**](IssueTrackingApi.md#collection_ticket_comments_add) | **POST** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments | Create Comment +[**collection_ticket_comments_all**](IssueTrackingApi.md#collection_ticket_comments_all) | **GET** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments | List Comments +[**collection_ticket_comments_delete**](IssueTrackingApi.md#collection_ticket_comments_delete) | **DELETE** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Delete Comment +[**collection_ticket_comments_one**](IssueTrackingApi.md#collection_ticket_comments_one) | **GET** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Get Comment +[**collection_ticket_comments_update**](IssueTrackingApi.md#collection_ticket_comments_update) | **PATCH** /issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id} | Update Comment +[**collection_tickets_add**](IssueTrackingApi.md#collection_tickets_add) | **POST** /issue-tracking/collections/{collection_id}/tickets | Create Ticket +[**collection_tickets_all**](IssueTrackingApi.md#collection_tickets_all) | **GET** /issue-tracking/collections/{collection_id}/tickets | List Tickets +[**collection_tickets_delete**](IssueTrackingApi.md#collection_tickets_delete) | **DELETE** /issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Delete Ticket +[**collection_tickets_one**](IssueTrackingApi.md#collection_tickets_one) | **GET** /issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Get Ticket +[**collection_tickets_update**](IssueTrackingApi.md#collection_tickets_update) | **PATCH** /issue-tracking/collections/{collection_id}/tickets/{ticket_id} | Update Ticket +[**collection_users_all**](IssueTrackingApi.md#collection_users_all) | **GET** /issue-tracking/collections/{collection_id}/users | List Users +[**collection_users_one**](IssueTrackingApi.md#collection_users_one) | **GET** /issue-tracking/collections/{collection_id}/users/{id} | Get user +[**collections_all**](IssueTrackingApi.md#collections_all) | **GET** /issue-tracking/collections | List Collections +[**collections_one**](IssueTrackingApi.md#collections_one) | **GET** /issue-tracking/collections/{collection_id} | Get Collection + + +# **collection_tags_all** +> GetCollectionTagsResponse collection_tags_all(collection_id) + +List Tags + +List Tags + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.get_collection_tags_response import GetCollectionTagsResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # List Tags + api_response = api_instance.collection_tags_all(collection_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tags_all: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Tags + api_response = api_instance.collection_tags_all(collection_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tags_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetCollectionTagsResponse**](GetCollectionTagsResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | List Tags | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_ticket_comments_add** +> CreateCommentResponse collection_ticket_comments_add(collection_id, ticket_id, collection_ticket_comment) + +Create Comment + +Create Comment + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.create_comment_response import CreateCommentResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.collection_ticket_comment import CollectionTicketComment +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + collection_ticket_comment = CollectionTicketComment( + body="What internet provider do you use?", + ) # CollectionTicketComment | + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + + # example passing only required values which don't have defaults set + try: + # Create Comment + api_response = api_instance.collection_ticket_comments_add(collection_id, ticket_id, collection_ticket_comment) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_add: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Create Comment + api_response = api_instance.collection_ticket_comments_add(collection_id, ticket_id, collection_ticket_comment, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_add: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **collection_ticket_comment** | [**CollectionTicketComment**](CollectionTicketComment.md)| | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + +### Return type + +[**CreateCommentResponse**](CreateCommentResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Create a Comment | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_ticket_comments_all** +> GetCommentsResponse collection_ticket_comments_all(collection_id, ticket_id) + +List Comments + +List Comments + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.comments_sort import CommentsSort +from apideck.model.get_comments_response import GetCommentsResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + sort = CommentsSort( + by="created_at", + direction=SortDirection("asc"), + ) # CommentsSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # List Comments + api_response = api_instance.collection_ticket_comments_all(collection_id, ticket_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_all: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Comments + api_response = api_instance.collection_ticket_comments_all(collection_id, ticket_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, sort=sort, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **sort** | **CommentsSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetCommentsResponse**](GetCommentsResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | List Comments | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_ticket_comments_delete** +> DeleteCommentResponse collection_ticket_comments_delete(id, collection_id, ticket_id) + +Delete Comment + +Delete Comment + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.delete_comment_response import DeleteCommentResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + collection_id = "apideck-io" # str | The collection ID + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Delete Comment + api_response = api_instance.collection_ticket_comments_delete(id, collection_id, ticket_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_delete: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Delete Comment + api_response = api_instance.collection_ticket_comments_delete(id, collection_id, ticket_id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **collection_id** | **str**| The collection ID | + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + +### Return type + +[**DeleteCommentResponse**](DeleteCommentResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Delete a Comment | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_ticket_comments_one** +> GetCommentResponse collection_ticket_comments_one(id, collection_id, ticket_id) + +Get Comment + +Get Comment + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.get_comment_response import GetCommentResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + collection_id = "apideck-io" # str | The collection ID + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get Comment + api_response = api_instance.collection_ticket_comments_one(id, collection_id, ticket_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_one: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Comment + api_response = api_instance.collection_ticket_comments_one(id, collection_id, ticket_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **collection_id** | **str**| The collection ID | + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetCommentResponse**](GetCommentResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Get a Comment | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_ticket_comments_update** +> UpdateCommentResponse collection_ticket_comments_update(id, collection_id, ticket_id, collection_ticket_comment) + +Update Comment + +Update Comment + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.update_comment_response import UpdateCommentResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.collection_ticket_comment import CollectionTicketComment +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + id = "id_example" # str | ID of the record you are acting upon. + collection_id = "apideck-io" # str | The collection ID + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + collection_ticket_comment = CollectionTicketComment( + body="What internet provider do you use?", + ) # CollectionTicketComment | + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Update Comment + api_response = api_instance.collection_ticket_comments_update(id, collection_id, ticket_id, collection_ticket_comment) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_update: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Update Comment + api_response = api_instance.collection_ticket_comments_update(id, collection_id, ticket_id, collection_ticket_comment, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_ticket_comments_update: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **id** | **str**| ID of the record you are acting upon. | + **collection_id** | **str**| The collection ID | + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **collection_ticket_comment** | [**CollectionTicketComment**](CollectionTicketComment.md)| | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + +### Return type + +[**UpdateCommentResponse**](UpdateCommentResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Update a Comment | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_tickets_add** +> CreateTicketResponse collection_tickets_add(collection_id, ticket) + +Create Ticket + +Create Ticket + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.ticket import Ticket +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.create_ticket_response import CreateTicketResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + ticket = Ticket( + parent_id="12345", + type="Technical", + subject="Technical Support Request", + description="I am facing issues with my internet connection", + status="open", + priority="high", + assignees=[ + Assignee( + id="12345", + ), + ], + due_date=dateutil_parser('2020-09-30T07:43:32Z'), + tags=[ + CollectionTag( + id="12345", + ), + ], + ) # Ticket | + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + + # example passing only required values which don't have defaults set + try: + # Create Ticket + api_response = api_instance.collection_tickets_add(collection_id, ticket) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_add: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Create Ticket + api_response = api_instance.collection_tickets_add(collection_id, ticket, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_add: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **ticket** | [**Ticket**](Ticket.md)| | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + +### Return type + +[**CreateTicketResponse**](CreateTicketResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**201** | Create a Ticket | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_tickets_all** +> GetTicketsResponse collection_tickets_all(collection_id) + +List Tickets + +List Tickets + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.get_tickets_response import GetTicketsResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.issues_filter import IssuesFilter +from apideck.model.tickets_sort import TicketsSort +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + sort = TicketsSort( + by="created_at", + direction=SortDirection("asc"), + ) # TicketsSort | Apply sorting (optional) + filter = IssuesFilter( + status=["closed"], + since=dateutil_parser('2020-09-30T07:43:32Z'), + assignee_id="2332bd9c2eaaa5dcfa14721c", + ) # IssuesFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # List Tickets + api_response = api_instance.collection_tickets_all(collection_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_all: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Tickets + api_response = api_instance.collection_tickets_all(collection_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, sort=sort, filter=filter, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **sort** | **TicketsSort**| Apply sorting | [optional] + **filter** | **IssuesFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetTicketsResponse**](GetTicketsResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | List Tickets | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_tickets_delete** +> DeleteTicketResponse collection_tickets_delete(ticket_id, collection_id) + +Delete Ticket + +Delete Ticket + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.delete_ticket_response import DeleteTicketResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + collection_id = "apideck-io" # str | The collection ID + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Delete Ticket + api_response = api_instance.collection_tickets_delete(ticket_id, collection_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_delete: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Delete Ticket + api_response = api_instance.collection_tickets_delete(ticket_id, collection_id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **collection_id** | **str**| The collection ID | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + +### Return type + +[**DeleteTicketResponse**](DeleteTicketResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Delete a Ticket | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_tickets_one** +> GetTicketResponse collection_tickets_one(ticket_id, collection_id) + +Get Ticket + +Get Ticket + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.get_ticket_response import GetTicketResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + collection_id = "apideck-io" # str | The collection ID + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get Ticket + api_response = api_instance.collection_tickets_one(ticket_id, collection_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_one: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Ticket + api_response = api_instance.collection_tickets_one(ticket_id, collection_id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **collection_id** | **str**| The collection ID | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetTicketResponse**](GetTicketResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Get a Ticket | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_tickets_update** +> UpdateTicketResponse collection_tickets_update(ticket_id, collection_id, ticket) + +Update Ticket + +Update Ticket + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.ticket import Ticket +from apideck.model.update_ticket_response import UpdateTicketResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + ticket_id = "ticket_id_example" # str | ID of the ticket you are acting upon. + collection_id = "apideck-io" # str | The collection ID + ticket = Ticket( + parent_id="12345", + type="Technical", + subject="Technical Support Request", + description="I am facing issues with my internet connection", + status="open", + priority="high", + assignees=[ + Assignee( + id="12345", + ), + ], + due_date=dateutil_parser('2020-09-30T07:43:32Z'), + tags=[ + CollectionTag( + id="12345", + ), + ], + ) # Ticket | + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + + # example passing only required values which don't have defaults set + try: + # Update Ticket + api_response = api_instance.collection_tickets_update(ticket_id, collection_id, ticket) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_update: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Update Ticket + api_response = api_instance.collection_tickets_update(ticket_id, collection_id, ticket, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_tickets_update: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **ticket_id** | **str**| ID of the ticket you are acting upon. | + **collection_id** | **str**| The collection ID | + **ticket** | [**Ticket**](Ticket.md)| | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + +### Return type + +[**UpdateTicketResponse**](UpdateTicketResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Update a Ticket | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_users_all** +> GetCollectionUsersResponse collection_users_all(collection_id) + +List Users + +List Users + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.get_collection_users_response import GetCollectionUsersResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # List Users + api_response = api_instance.collection_users_all(collection_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_users_all: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Users + api_response = api_instance.collection_users_all(collection_id, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_users_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetCollectionUsersResponse**](GetCollectionUsersResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Users | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collection_users_one** +> GetCollectionUserResponse collection_users_one(collection_id, id) + +Get user + +Get user + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.get_collection_user_response import GetCollectionUserResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + id = "id_example" # str | ID of the record you are acting upon. + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get user + api_response = api_instance.collection_users_one(collection_id, id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_users_one: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get user + api_response = api_instance.collection_users_one(collection_id, id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collection_users_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **id** | **str**| ID of the record you are acting upon. | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetCollectionUserResponse**](GetCollectionUserResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | User | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collections_all** +> GetCollectionsResponse collections_all() + +List Collections + +List Collections + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.get_collections_response import GetCollectionsResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.collections_sort import CollectionsSort +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + sort = CollectionsSort( + by="name", + direction=SortDirection("asc"), + ) # CollectionsSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + # and optional values + try: + # List Collections + api_response = api_instance.collections_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, sort=sort, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collections_all: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **sort** | **CollectionsSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetCollectionsResponse**](GetCollectionsResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | List Collections | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + +# **collections_one** +> GetCollectionResponse collections_one(collection_id) + +Get Collection + +Get Collection + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import issue_tracking_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.get_collection_response import GetCollectionResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = issue_tracking_api.IssueTrackingApi(api_client) + collection_id = "apideck-io" # str | The collection ID + consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) + + # example passing only required values which don't have defaults set + try: + # Get Collection + api_response = api_instance.collections_one(collection_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collections_one: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Get Collection + api_response = api_instance.collections_one(collection_id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling IssueTrackingApi->collections_one: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **collection_id** | **str**| The collection ID | + **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] + **app_id** | **str**| The ID of your Unify application | [optional] + **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] + +### Return type + +[**GetCollectionResponse**](GetCollectionResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Get a Collection | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + diff --git a/docs/apis/LeadApi.md b/docs/apis/LeadApi.md index 200489527..d4d2ab1f5 100644 --- a/docs/apis/LeadApi.md +++ b/docs/apis/LeadApi.md @@ -254,7 +254,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = LeadsFilter( name="Elon Musk", first_name="Elon", @@ -265,12 +265,13 @@ with apideck.ApiClient(configuration) as api_client: by="created_at", direction=SortDirection("asc"), ) # LeadsSort | Apply sorting (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List leads - api_response = api_instance.leads_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort) + api_response = api_instance.leads_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, filter=filter, sort=sort, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling LeadApi->leads_all: %s\n" % e) @@ -286,9 +287,10 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **LeadsFilter**| Apply filters | [optional] **sort** | **LeadsSort**| Apply sorting | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -474,6 +476,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -487,7 +490,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get lead - api_response = api_instance.leads_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.leads_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling LeadApi->leads_one: %s\n" % e) @@ -503,6 +506,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/PosApi.md b/docs/apis/PosApi.md index 46ce64fe6..4f82ca0be 100644 --- a/docs/apis/PosApi.md +++ b/docs/apis/PosApi.md @@ -236,13 +236,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Items - api_response = api_instance.items_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.items_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->items_all: %s\n" % e) @@ -258,7 +259,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -444,6 +446,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -457,7 +460,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Item - api_response = api_instance.items_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.items_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->items_one: %s\n" % e) @@ -473,6 +476,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -827,13 +831,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Locations - api_response = api_instance.locations_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.locations_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->locations_all: %s\n" % e) @@ -849,7 +854,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1035,6 +1041,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1048,7 +1055,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Location - api_response = api_instance.locations_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.locations_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->locations_one: %s\n" % e) @@ -1064,6 +1071,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1433,13 +1441,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Merchants - api_response = api_instance.merchants_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.merchants_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->merchants_all: %s\n" % e) @@ -1455,7 +1464,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -1641,6 +1651,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -1654,7 +1665,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Merchant - api_response = api_instance.merchants_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.merchants_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->merchants_one: %s\n" % e) @@ -1670,6 +1681,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2020,13 +2032,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Modifier Groups - api_response = api_instance.modifier_groups_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.modifier_groups_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->modifier_groups_all: %s\n" % e) @@ -2042,7 +2055,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2228,6 +2242,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2241,7 +2256,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Modifier Group - api_response = api_instance.modifier_groups_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.modifier_groups_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->modifier_groups_one: %s\n" % e) @@ -2257,6 +2272,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2573,13 +2589,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Modifiers - api_response = api_instance.modifiers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.modifiers_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->modifiers_all: %s\n" % e) @@ -2595,7 +2612,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -2790,6 +2808,7 @@ with apideck.ApiClient(configuration) as api_client: filter = ModifierGroupFilter( modifier_group_id="1234", ) # ModifierGroupFilter | Apply filters (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -2803,7 +2822,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Modifier - api_response = api_instance.modifiers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, filter=filter) + api_response = api_instance.modifiers_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, filter=filter, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->modifiers_one: %s\n" % e) @@ -2820,6 +2839,7 @@ Name | Type | Description | Notes **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False **filter** | **ModifierGroupFilter**| Apply filters | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3127,13 +3147,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Order Types - api_response = api_instance.order_types_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.order_types_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->order_types_all: %s\n" % e) @@ -3149,7 +3170,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3335,6 +3357,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -3348,7 +3371,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Order Type - api_response = api_instance.order_types_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.order_types_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->order_types_one: %s\n" % e) @@ -3364,6 +3387,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -3578,6 +3602,7 @@ with apideck.ApiClient(configuration) as api_client: refunded=False, customers=[ OrderCustomers( + id="12345", first_name="Elon", middle_name="D.", last_name="Musk", @@ -3903,14 +3928,15 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 location_id = "location_id_example" # str | ID of the location. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Orders - api_response = api_instance.orders_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, location_id=location_id) + api_response = api_instance.orders_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, location_id=location_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->orders_all: %s\n" % e) @@ -3926,8 +3952,9 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **location_id** | **str**| ID of the location. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4113,6 +4140,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -4126,7 +4154,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Order - api_response = api_instance.orders_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.orders_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->orders_one: %s\n" % e) @@ -4142,6 +4170,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4244,6 +4273,7 @@ with apideck.ApiClient(configuration) as api_client: refunded=False, customers=[ OrderCustomers( + id="12345", first_name="Elon", middle_name="D.", last_name="Musk", @@ -4462,6 +4492,7 @@ with apideck.ApiClient(configuration) as api_client: consumer_id = "x-apideck-consumer-id_example" # str | ID of the consumer which you want to get or push data from (optional) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -4475,7 +4506,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Pay Order - api_response = api_instance.orders_pay(id, order, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id) + api_response = api_instance.orders_pay(id, order, raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->orders_pay: %s\n" % e) @@ -4492,6 +4523,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -4594,6 +4626,7 @@ with apideck.ApiClient(configuration) as api_client: refunded=False, customers=[ OrderCustomers( + id="12345", first_name="Elon", middle_name="D.", last_name="Musk", @@ -5130,13 +5163,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Payments - api_response = api_instance.payments_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.payments_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->payments_all: %s\n" % e) @@ -5152,7 +5186,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -5338,6 +5373,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -5351,7 +5387,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Payment - api_response = api_instance.payments_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.payments_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->payments_one: %s\n" % e) @@ -5367,6 +5403,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -5773,13 +5810,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Tenders - api_response = api_instance.tenders_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.tenders_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->tenders_all: %s\n" % e) @@ -5795,7 +5833,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -5981,6 +6020,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -5994,7 +6034,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Tender - api_response = api_instance.tenders_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.tenders_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling PosApi->tenders_one: %s\n" % e) @@ -6010,6 +6050,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/SmsApi.md b/docs/apis/SmsApi.md index d56502c72..bf0118138 100644 --- a/docs/apis/SmsApi.md +++ b/docs/apis/SmsApi.md @@ -178,13 +178,14 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set # and optional values try: # List Messages - api_response = api_instance.messages_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit) + api_response = api_instance.messages_all(raw=raw, consumer_id=consumer_id, app_id=app_id, service_id=service_id, cursor=cursor, limit=limit, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling SmsApi->messages_all: %s\n" % e) @@ -200,7 +201,8 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type @@ -386,6 +388,7 @@ with apideck.ApiClient(configuration) as api_client: app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) service_id = "x-apideck-service-id_example" # str | Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. (optional) raw = False # bool | Include raw response. Mostly used for debugging purposes (optional) if omitted the server will use the default value of False + fields = "id,updated_at" # str, none_type | The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. (optional) # example passing only required values which don't have defaults set try: @@ -399,7 +402,7 @@ with apideck.ApiClient(configuration) as api_client: # and optional values try: # Get Message - api_response = api_instance.messages_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw) + api_response = api_instance.messages_one(id, consumer_id=consumer_id, app_id=app_id, service_id=service_id, raw=raw, fields=fields) pprint(api_response) except apideck.ApiException as e: print("Exception when calling SmsApi->messages_one: %s\n" % e) @@ -415,6 +418,7 @@ Name | Type | Description | Notes **app_id** | **str**| The ID of your Unify application | [optional] **service_id** | **str**| Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. | [optional] **raw** | **bool**| Include raw response. Mostly used for debugging purposes | [optional] if omitted the server will use the default value of False + **fields** | **str, none_type**| The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation. <br /><br />Example: `fields=name,email,addresses.city`<br /><br />In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded. | [optional] ### Return type diff --git a/docs/apis/VaultApi.md b/docs/apis/VaultApi.md index a168f626d..1f0ed210a 100644 --- a/docs/apis/VaultApi.md +++ b/docs/apis/VaultApi.md @@ -12,8 +12,11 @@ Method | HTTP request | Description [**connections_one**](VaultApi.md#connections_one) | **GET** /vault/connections/{unified_api}/{service_id} | Get connection [**connections_update**](VaultApi.md#connections_update) | **PATCH** /vault/connections/{unified_api}/{service_id} | Update connection [**consumer_request_counts_all**](VaultApi.md#consumer_request_counts_all) | **GET** /vault/consumers/{consumer_id}/stats | Consumer request counts +[**consumers_add**](VaultApi.md#consumers_add) | **POST** /vault/consumers | Create consumer [**consumers_all**](VaultApi.md#consumers_all) | **GET** /vault/consumers | Get all consumers +[**consumers_delete**](VaultApi.md#consumers_delete) | **DELETE** /vault/consumers/{consumer_id} | Delete consumer [**consumers_one**](VaultApi.md#consumers_one) | **GET** /vault/consumers/{consumer_id} | Get consumer +[**consumers_update**](VaultApi.md#consumers_update) | **PATCH** /vault/consumers/{consumer_id} | Update consumer [**logs_all**](VaultApi.md#logs_all) | **GET** /vault/logs | Get all consumer request logs [**sessions_create**](VaultApi.md#sessions_create) | **POST** /vault/sessions | Create Session @@ -905,6 +908,116 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) +# **consumers_add** +> CreateConsumerResponse consumers_add(consumer) + +Create consumer + +Create a consumer + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import vault_api +from apideck.model.create_consumer_response import CreateConsumerResponse +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.consumer import Consumer +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vault_api.VaultApi(api_client) + consumer = Consumer( + consumer_id="test_consumer_id", + metadata=ConsumerMetadata( + account_name="SpaceX", + user_name="Elon Musk", + email="elon@musk.com", + image="https://www.spacex.com/static/images/share.jpg", + ), + ) # Consumer | + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + + # example passing only required values which don't have defaults set + try: + # Create consumer + api_response = api_instance.consumers_add(consumer) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling VaultApi->consumers_add: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Create consumer + api_response = api_instance.consumers_add(consumer, app_id=app_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling VaultApi->consumers_add: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **consumer** | [**Consumer**](Consumer.md)| | + **app_id** | **str**| The ID of your Unify application | [optional] + +### Return type + +[**CreateConsumerResponse**](CreateConsumerResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Consumer created | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + # **consumers_all** > GetConsumersResponse consumers_all() @@ -951,7 +1064,7 @@ with apideck.ApiClient(configuration) as api_client: api_instance = vault_api.VaultApi(api_client) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 # example passing only required values which don't have defaults set # and optional values @@ -970,7 +1083,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **app_id** | **str**| The ID of your Unify application | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 ### Return type @@ -1000,6 +1113,107 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) +# **consumers_delete** +> DeleteConsumerResponse consumers_delete(consumer_id) + +Delete consumer + +Delete consumer and all their connections, including credentials. + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import vault_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.delete_consumer_response import DeleteConsumerResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vault_api.VaultApi(api_client) + consumer_id = "test_user_id" # str | ID of the consumer to return + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + + # example passing only required values which don't have defaults set + try: + # Delete consumer + api_response = api_instance.consumers_delete(consumer_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling VaultApi->consumers_delete: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Delete consumer + api_response = api_instance.consumers_delete(consumer_id, app_id=app_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling VaultApi->consumers_delete: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **consumer_id** | **str**| ID of the consumer to return | + **app_id** | **str**| The ID of your Unify application | [optional] + +### Return type + +[**DeleteConsumerResponse**](DeleteConsumerResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Consumer deleted | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + # **consumers_one** > GetConsumerResponse consumers_one(consumer_id) @@ -1101,6 +1315,117 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) +# **consumers_update** +> UpdateConsumerResponse consumers_update(consumer_id, update_consumer_request) + +Update consumer + +Update consumer metadata such as name and email. + +### Example + +* Api Key Authentication (apiKey): + +```python +import time +import apideck +from apideck.api import vault_api +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.update_consumer_request import UpdateConsumerRequest +from apideck.model.update_consumer_response import UpdateConsumerResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.not_found_response import NotFoundResponse +from pprint import pprint +# Defining the host is optional and defaults to https://unify.apideck.com +# See configuration.py for a list of all supported configuration parameters. +configuration = apideck.Configuration( + host = "https://unify.apideck.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 API key authorization: apiKey +configuration.api_key['apiKey'] = 'YOUR_API_KEY' + +# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed +# configuration.api_key_prefix['apiKey'] = 'Bearer' + +# Enter a context with an instance of the API client +with apideck.ApiClient(configuration) as api_client: + # Create an instance of the API class + api_instance = vault_api.VaultApi(api_client) + consumer_id = "test_user_id" # str | ID of the consumer to return + update_consumer_request = UpdateConsumerRequest( + metadata=ConsumerMetadata( + account_name="SpaceX", + user_name="Elon Musk", + email="elon@musk.com", + image="https://www.spacex.com/static/images/share.jpg", + ), + ) # UpdateConsumerRequest | + app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) + + # example passing only required values which don't have defaults set + try: + # Update consumer + api_response = api_instance.consumers_update(consumer_id, update_consumer_request) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling VaultApi->consumers_update: %s\n" % e) + + # example passing only required values which don't have defaults set + # and optional values + try: + # Update consumer + api_response = api_instance.consumers_update(consumer_id, update_consumer_request, app_id=app_id) + pprint(api_response) + except apideck.ApiException as e: + print("Exception when calling VaultApi->consumers_update: %s\n" % e) +``` + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **consumer_id** | **str**| ID of the consumer to return | + **update_consumer_request** | [**UpdateConsumerRequest**](UpdateConsumerRequest.md)| | + **app_id** | **str**| The ID of your Unify application | [optional] + +### Return type + +[**UpdateConsumerResponse**](UpdateConsumerResponse.md) + +### Authorization + +[apiKey](../../README.md#apiKey) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**200** | Consumer updated | - | +**400** | Bad Request | - | +**401** | Unauthorized | - | +**402** | Payment Required | - | +**404** | The specified resource was not found | - | +**422** | Unprocessable | - | +**0** | Unexpected error | - | + +[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) + # **logs_all** > GetLogsResponse logs_all() @@ -1154,7 +1479,7 @@ with apideck.ApiClient(configuration) as api_client: exclude_unified_apis="vault,proxy", ) # LogsFilter | Filter results (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 # example passing only required values which don't have defaults set # and optional values @@ -1175,7 +1500,7 @@ Name | Type | Description | Notes **consumer_id** | **str**| ID of the consumer which you want to get or push data from | [optional] **filter** | **LogsFilter**| Filter results | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 ### Return type @@ -1210,7 +1535,7 @@ Name | Type | Description | Notes Create Session -Making a POST request to this endpoint will initiate a Hosted Vault session. Redirect the consumer to the returned url to allow temporary access to manage their integrations and settings. Note: This is a short lived token that will expire after 1 hour (TTL: 3600). +Making a POST request to this endpoint will initiate a Hosted Vault session. Redirect the consumer to the returned URL to allow temporary access to manage their integrations and settings. Note: This is a short lived token that will expire after 1 hour (TTL: 3600). ### Example @@ -1259,7 +1584,6 @@ with apideck.ApiClient(configuration) as api_client: email="elon@musk.com", image="https://www.spacex.com/static/images/share.jpg", ), - custom_consumer_settings={}, redirect_uri="https://mysaas.com/dashboard", settings=SessionSettings( unified_apis=[ @@ -1273,16 +1597,22 @@ with apideck.ApiClient(configuration) as api_client: show_suggestions=False, show_sidebar=True, auto_redirect=False, + hide_guides=False, + allow_actions=[ + "delete", + ], ), theme=SessionTheme( favicon="https://res.cloudinary.com/apideck/icons/intercom", + logo="https://res.cloudinary.com/apideck/icons/intercom", primary_color="#286efa", - privacy_url="https://compliance.apideck.com/privacy-policy", sidepanel_background_color="#286efa", sidepanel_text_color="#FFFFFF", - terms_url="https://www.termsfeed.com/terms-conditions/957c85c1b089ae9e3219c83eff65377e", vault_name="Intercom", + privacy_url="https://compliance.apideck.com/privacy-policy", + terms_url="https://www.termsfeed.com/terms-conditions/957c85c1b089ae9e3219c83eff65377e", ), + custom_consumer_settings={}, ) # Session | Additional redirect uri and/or consumer metadata (optional) # example passing only required values which don't have defaults set diff --git a/docs/apis/WebhookApi.md b/docs/apis/WebhookApi.md index 32eb18b49..6bab02121 100644 --- a/docs/apis/WebhookApi.md +++ b/docs/apis/WebhookApi.md @@ -59,7 +59,7 @@ with apideck.ApiClient(configuration) as api_client: api_instance = webhook_api.WebhookApi(api_client) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 filter = WebhookEventLogsFilter( exclude_apis="vault,proxy", service=WebhookEventLogsFilterService( @@ -87,7 +87,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **app_id** | **str**| The ID of your Unify application | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 **filter** | **WebhookEventLogsFilter**| Filter results | [optional] ### Return type @@ -274,7 +274,7 @@ with apideck.ApiClient(configuration) as api_client: api_instance = webhook_api.WebhookApi(api_client) app_id = "dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX" # str | The ID of your Unify application (optional) cursor = "cursor_example" # str, none_type | Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. (optional) - limit = 20 # int | Number of records to return (optional) if omitted the server will use the default value of 20 + limit = 20 # int | Number of results to return. Minimum 1, Maximum 200, Default 20 (optional) if omitted the server will use the default value of 20 # example passing only required values which don't have defaults set # and optional values @@ -293,7 +293,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **app_id** | **str**| The ID of your Unify application | [optional] **cursor** | **str, none_type**| Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response. | [optional] - **limit** | **int**| Number of records to return | [optional] if omitted the server will use the default value of 20 + **limit** | **int**| Number of results to return. Minimum 1, Maximum 200, Default 20 | [optional] if omitted the server will use the default value of 20 ### Return type diff --git a/docs/models/AccountingCustomer.md b/docs/models/AccountingCustomer.md index ec5d218c8..8dde26f76 100644 --- a/docs/models/AccountingCustomer.md +++ b/docs/models/AccountingCustomer.md @@ -4,32 +4,35 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] +**downstream_id** | **str, none_type** | The third-party API ID of original entity | [optional] [readonly] **display_id** | **str, none_type** | Display ID | [optional] -**display_name** | **str, none_type** | Display Name | [optional] -**company_name** | **str, none_type** | | [optional] -**title** | **str, none_type** | | [optional] -**first_name** | **str, none_type** | | [optional] -**middle_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] +**display_name** | **str, none_type** | Display name | [optional] +**company_name** | **str, none_type** | The name of the company. | [optional] +**title** | **str, none_type** | The job title of the person. | [optional] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**middle_name** | **str, none_type** | Middle name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] **suffix** | **str, none_type** | | [optional] **individual** | **bool, none_type** | Is this an individual or business customer | [optional] +**project** | **bool, none_type** | If true, indicates this is a Project. | [optional] **addresses** | [**[Address]**](Address.md) | | [optional] -**notes** | **str, none_type** | Some notes about this customer | [optional] **phone_numbers** | [**[PhoneNumber]**](PhoneNumber.md) | | [optional] **emails** | [**[Email]**](Email.md) | | [optional] **websites** | [**[Website]**](Website.md) | | [optional] +**bank_accounts** | [**[BankAccount]**](BankAccount.md) | | [optional] +**notes** | **str, none_type** | Some notes about this customer | [optional] **tax_rate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] **tax_number** | **str, none_type** | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] -**bank_accounts** | [**[BankAccount]**](BankAccount.md) | | [optional] +**account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] +**parent** | [**LinkedParentCustomer**](LinkedParentCustomer.md) | | [optional] **status** | **str, none_type** | Customer status | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/ActivitiesFilter.md b/docs/models/ActivitiesFilter.md new file mode 100644 index 000000000..e32e49031 --- /dev/null +++ b/docs/models/ActivitiesFilter.md @@ -0,0 +1,11 @@ +# ActivitiesFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**updated_since** | **datetime** | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Address.md b/docs/models/Address.md index 0c76d1ff9..bc07bb5c2 100644 --- a/docs/models/Address.md +++ b/docs/models/Address.md @@ -26,7 +26,7 @@ Name | Type | Description | Notes **fax** | **str, none_type** | | [optional] **email** | **str, none_type** | | [optional] **website** | **str, none_type** | | [optional] -**row_version** | **str, none_type** | | [optional] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Applicant.md b/docs/models/Applicant.md index e31d0476e..7fa76f8ee 100644 --- a/docs/models/Applicant.md +++ b/docs/models/Applicant.md @@ -4,19 +4,19 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **position_id** | **str** | The PositionId the applicant applied for. | [optional] **name** | **str** | The name of an applicant. | [optional] -**first_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] -**middle_name** | **str, none_type** | | [optional] -**initials** | **str, none_type** | | [optional] -**birthday** | **date, none_type** | | [optional] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] +**middle_name** | **str, none_type** | Middle name of the person. | [optional] +**initials** | **str, none_type** | The initials of the person, usually derived from their first, middle, and last names. | [optional] +**birthday** | **date, none_type** | The date of birth of the person. | [optional] **cover_letter** | **str** | | [optional] **job_url** | **str, none_type** | | [optional] [readonly] -**photo_url** | **str, none_type** | | [optional] +**photo_url** | **str, none_type** | The URL of the photo of a person. | [optional] **headline** | **str** | Typically a list of previous companies where the contact has worked or schools that the contact has attended | [optional] -**title** | **str, none_type** | | [optional] +**title** | **str, none_type** | The job title of the person. | [optional] **emails** | [**[Email]**](Email.md) | | [optional] **custom_fields** | [**[CustomField]**](CustomField.md) | | [optional] **phone_numbers** | [**[PhoneNumber]**](PhoneNumber.md) | | [optional] @@ -41,12 +41,12 @@ Name | Type | Description | Notes **record_url** | **str, none_type** | | [optional] **rejected_at** | **datetime, none_type** | | [optional] [readonly] **deleted** | **bool, none_type** | | [optional] -**deleted_by** | **str, none_type** | | [optional] [readonly] -**deleted_at** | **datetime, none_type** | | [optional] [readonly] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**deleted_by** | **str, none_type** | The user who deleted the object. | [optional] [readonly] +**deleted_at** | **datetime, none_type** | The time at which the object was deleted. | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Assignee.md b/docs/models/Assignee.md new file mode 100644 index 000000000..15adfa3e9 --- /dev/null +++ b/docs/models/Assignee.md @@ -0,0 +1,12 @@ +# Assignee + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | +**username** | **str** | | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/AtsActivity.md b/docs/models/AtsActivity.md index b96ec9763..a6dfe06bd 100644 --- a/docs/models/AtsActivity.md +++ b/docs/models/AtsActivity.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/BalanceSheet.md b/docs/models/BalanceSheet.md index 58f98032c..eee91e73d 100644 --- a/docs/models/BalanceSheet.md +++ b/docs/models/BalanceSheet.md @@ -9,12 +9,12 @@ Name | Type | Description | Notes **assets** | [**BalanceSheetAssets**](BalanceSheetAssets.md) | | **liabilities** | [**BalanceSheetLiabilities**](BalanceSheetLiabilities.md) | | **equity** | [**BalanceSheetEquity**](BalanceSheetEquity.md) | | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **end_date** | **str** | The start date of the report | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/BalanceSheetAssetsCurrentAssetsAccounts.md b/docs/models/BalanceSheetAssetsCurrentAssetsAccounts.md index f47792994..0109473cc 100644 --- a/docs/models/BalanceSheetAssetsCurrentAssetsAccounts.md +++ b/docs/models/BalanceSheetAssetsCurrentAssetsAccounts.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | The name of the current asset account | [optional] **value** | **float** | The value of the current asset | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/BalanceSheetAssetsFixedAssetsAccounts.md b/docs/models/BalanceSheetAssetsFixedAssetsAccounts.md index 41904dbdd..a324a9d49 100644 --- a/docs/models/BalanceSheetAssetsFixedAssetsAccounts.md +++ b/docs/models/BalanceSheetAssetsFixedAssetsAccounts.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | The name of the fixed asset account | [optional] **value** | **float** | The value of the fixed asset | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/BalanceSheetEquityItems.md b/docs/models/BalanceSheetEquityItems.md index eb45a10b3..30ade545e 100644 --- a/docs/models/BalanceSheetEquityItems.md +++ b/docs/models/BalanceSheetEquityItems.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | The type of the equity | [optional] **value** | **float** | The equity amount | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/BalanceSheetLiabilitiesAccounts.md b/docs/models/BalanceSheetLiabilitiesAccounts.md index 8df699e32..7968aefce 100644 --- a/docs/models/BalanceSheetLiabilitiesAccounts.md +++ b/docs/models/BalanceSheetLiabilitiesAccounts.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | The name of the liability account | [optional] **value** | **float** | The value of the liability | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/BankAccount.md b/docs/models/BankAccount.md index 622e5f0fc..1b8cfa2aa 100644 --- a/docs/models/BankAccount.md +++ b/docs/models/BankAccount.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**account_number** | **str, none_type** | A bank account number is a number that is tied to your bank account. If you have several bank accounts, such as personal, joint, business (and so on), each account will have a different account number. | [optional] +**account_name** | **str, none_type** | The name which you used in opening your bank account. | [optional] +**account_type** | **str, none_type** | The type of bank account. | [optional] **iban** | **str, none_type** | | [optional] **bic** | **str, none_type** | | [optional] **bsb_number** | **str, none_type** | A BSB is a 6 digit numeric code used for identifying the branch of an Australian or New Zealand bank or financial institution. | [optional] **branch_identifier** | **str, none_type** | A branch identifier is a unique identifier for a branch of a bank or financial institution. | [optional] **bank_code** | **str, none_type** | A bank code is a code assigned by a central bank, a bank supervisory body or a Bankers Association in a country to all its licensed member banks or financial institutions. | [optional] -**account_number** | **str, none_type** | A bank account number is a number that is tied to your bank account. If you have several bank accounts, such as personal, joint, business (and so on), each account will have a different account number. | [optional] -**account_name** | **str, none_type** | The name which you used in opening your bank account. | [optional] -**account_type** | **str, none_type** | The type of bank account. | [optional] **currency** | [**Currency**](Currency.md) | | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Bill.md b/docs/models/Bill.md index 02d40d812..8a29bc57a 100644 --- a/docs/models/Bill.md +++ b/docs/models/Bill.md @@ -4,8 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **downstream_id** | **str, none_type** | The third-party API ID of original entity | [optional] [readonly] +**bill_number** | **str, none_type** | | [optional] **supplier** | [**LinkedSupplier**](LinkedSupplier.md) | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **currency_rate** | **float, none_type** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] @@ -14,7 +15,7 @@ Name | Type | Description | Notes **due_date** | **date** | The due date is the date on which a payment is scheduled to be received by the supplier - YYYY-MM-DD. | [optional] **paid_date** | **date, none_type** | The paid date is the date on which a payment was sent to the supplier - YYYY-MM-DD. | [optional] **po_number** | **str, none_type** | A PO Number uniquely identifies a purchase order and is generally defined by the buyer. The buyer will match the PO number in the invoice to the Purchase Order. | [optional] -**reference** | **str, none_type** | Optional invoice reference. | [optional] +**reference** | **str, none_type** | Optional bill reference. | [optional] **line_items** | [**[BillLineItem]**](BillLineItem.md) | | [optional] **terms** | **str, none_type** | Terms of payment. | [optional] **balance** | **float, none_type** | Balance of bill due. | [optional] @@ -26,12 +27,11 @@ Name | Type | Description | Notes **notes** | **str, none_type** | | [optional] **status** | **str, none_type** | Invoice status | [optional] **ledger_account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -**bill_number** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] -**row_version** | **str, none_type** | | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/BillLineItem.md b/docs/models/BillLineItem.md index 0b6e1036d..d8e20b3a2 100644 --- a/docs/models/BillLineItem.md +++ b/docs/models/BillLineItem.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **row_id** | **str** | Row ID | [optional] **code** | **str, none_type** | User defined item code | [optional] **line_number** | **int, none_type** | Line number in the invoice | [optional] @@ -21,11 +21,11 @@ Name | Type | Description | Notes **item** | [**LinkedInvoiceItem**](LinkedInvoiceItem.md) | | [optional] **ledger_account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] **tax_rate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/BillsSort.md b/docs/models/BillsSort.md new file mode 100644 index 000000000..6e1e42d47 --- /dev/null +++ b/docs/models/BillsSort.md @@ -0,0 +1,12 @@ +# BillsSort + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**by** | **str** | The field on which to sort the Bills | [optional] if omitted the server will use the default value of "updated_at" +**direction** | [**SortDirection**](SortDirection.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Branch.md b/docs/models/Branch.md index 25a05f2a2..28b93c934 100644 --- a/docs/models/Branch.md +++ b/docs/models/Branch.md @@ -5,7 +5,7 @@ Details of the branch for which the job is created. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | Name of the branch. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/Collection.md b/docs/models/Collection.md new file mode 100644 index 000000000..936d8a1c8 --- /dev/null +++ b/docs/models/Collection.md @@ -0,0 +1,17 @@ +# Collection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [readonly] +**parent_id** | **str** | The collections's parent ID | [optional] +**type** | **str** | The collections's type | [optional] +**name** | **str** | Name of the collection | [optional] +**description** | **str** | Description of the collection | [optional] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CollectionTag.md b/docs/models/CollectionTag.md new file mode 100644 index 000000000..e1ea62345 --- /dev/null +++ b/docs/models/CollectionTag.md @@ -0,0 +1,12 @@ +# CollectionTag + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | +**name** | **str** | | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CollectionTicketComment.md b/docs/models/CollectionTicketComment.md new file mode 100644 index 000000000..309fddaa5 --- /dev/null +++ b/docs/models/CollectionTicketComment.md @@ -0,0 +1,15 @@ +# CollectionTicketComment + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**body** | **str** | Body of the comment | [optional] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CollectionUser.md b/docs/models/CollectionUser.md new file mode 100644 index 000000000..631005c00 --- /dev/null +++ b/docs/models/CollectionUser.md @@ -0,0 +1,18 @@ +# CollectionUser + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**name** | **str** | | [optional] +**first_name** | **str, none_type** | | [optional] +**last_name** | **str, none_type** | | [optional] +**email** | **str, none_type** | | [optional] +**photo_url** | **str, none_type** | The URL of the photo of a person. | [optional] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CollectionsSort.md b/docs/models/CollectionsSort.md new file mode 100644 index 000000000..63d76db2a --- /dev/null +++ b/docs/models/CollectionsSort.md @@ -0,0 +1,12 @@ +# CollectionsSort + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**by** | **str** | The field on which to sort the Collections | [optional] +**direction** | [**SortDirection**](SortDirection.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CommentsSort.md b/docs/models/CommentsSort.md new file mode 100644 index 000000000..c0d37a9bb --- /dev/null +++ b/docs/models/CommentsSort.md @@ -0,0 +1,12 @@ +# CommentsSort + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**by** | **str** | The field on which to sort the Comments | [optional] +**direction** | [**SortDirection**](SortDirection.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Company.md b/docs/models/Company.md index 79e5558de..2c6aa93dc 100644 --- a/docs/models/Company.md +++ b/docs/models/Company.md @@ -23,8 +23,8 @@ Name | Type | Description | Notes **abn_or_tfn** | **str, none_type** | An ABN is necessary for operating a business, while a TFN (Tax File Number) is required for any person working in Australia. | [optional] **abn_branch** | **str, none_type** | An ABN Branch (also known as a GST Branch) is used if part of your business needs to account for GST separately from its parent entity. | [optional] **acn** | **str, none_type** | The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank. | [optional] -**first_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] **parent_id** | **str** | Parent ID | [optional] [readonly] **bank_accounts** | [**[BankAccount]**](BankAccount.md) | | [optional] **websites** | [**[Website]**](Website.md) | | [optional] @@ -38,8 +38,8 @@ Name | Type | Description | Notes **read_only** | **bool, none_type** | | [optional] **last_activity_at** | **datetime, none_type** | | [optional] [readonly] **deleted** | **bool** | | [optional] [readonly] -**salutation** | **str, none_type** | | [optional] -**birthday** | **date, none_type** | | [optional] +**salutation** | **str, none_type** | A formal salutation for the person. For example, 'Mr', 'Mrs' | [optional] +**birthday** | **date, none_type** | The date of birth of the person. | [optional] **updated_by** | **str, none_type** | | [optional] [readonly] **created_by** | **str, none_type** | | [optional] [readonly] **updated_at** | **datetime** | | [optional] [readonly] diff --git a/docs/models/CompanyInfo.md b/docs/models/CompanyInfo.md index 0bb1a8faf..860e31340 100644 --- a/docs/models/CompanyInfo.md +++ b/docs/models/CompanyInfo.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**company_name** | **str, none_type** | | [optional] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**company_name** | **str, none_type** | The name of the company. | [optional] **status** | **str** | Based on the status some functionality is enabled or disabled. | [optional] **legal_name** | **str** | The legal name of the company | [optional] **country** | **str, none_type** | country code according to ISO 3166-1 alpha-2. | [optional] @@ -20,11 +20,11 @@ Name | Type | Description | Notes **addresses** | [**[Address]**](Address.md) | | [optional] **phone_numbers** | [**[PhoneNumber]**](PhoneNumber.md) | | [optional] **emails** | [**[Email]**](Email.md) | | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Compensation.md b/docs/models/Compensation.md index 207a4d16d..77b4e013b 100644 --- a/docs/models/Compensation.md +++ b/docs/models/Compensation.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**employee_id** | **str** | | [readonly] +**employee_id** | **str** | A unique identifier for an object. | [readonly] **net_pay** | **float** | The employee's net pay. Only available when payroll has been processed | [optional] **gross_pay** | **float** | The employee's gross pay. Only available when payroll has been processed | [optional] **taxes** | [**[Tax]**](Tax.md) | An array of employer and employee taxes for the pay period. | [optional] diff --git a/docs/models/Connection.md b/docs/models/Connection.md index f14f779ff..6ffddb795 100644 --- a/docs/models/Connection.md +++ b/docs/models/Connection.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **tag_line** | **str** | | [optional] [readonly] **unified_api** | **str** | The unified API category where the connection belongs to. | [optional] [readonly] **state** | [**ConnectionState**](ConnectionState.md) | | [optional] +**integration_state** | [**IntegrationState**](IntegrationState.md) | | [optional] **auth_type** | [**AuthType**](AuthType.md) | | [optional] **oauth_grant_type** | [**OAuthGrantType**](OAuthGrantType.md) | | [optional] **status** | **str** | Status of the connection. | [optional] [readonly] diff --git a/docs/models/ConnectionWebhook.md b/docs/models/ConnectionWebhook.md index ca57dc971..f0d32a9d8 100644 --- a/docs/models/ConnectionWebhook.md +++ b/docs/models/ConnectionWebhook.md @@ -10,10 +10,10 @@ Name | Type | Description | Notes **execute_base_url** | **str** | The Unify Base URL events from connectors will be sent to after service id is appended. | [readonly] **events** | **[str]** | The list of subscribed events for this webhook. [`*`] indicates that all events are enabled. | **id** | **str** | | [optional] [readonly] -**description** | **str, none_type** | | [optional] +**description** | **str, none_type** | A description of the object. | [optional] **disabled_reason** | **str** | Indicates if the webhook has has been disabled as it reached its retry limit or if account is over the usage allocated by it's plan. | [optional] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Connector.md b/docs/models/Connector.md index bf3158b15..34d41b4ae 100644 --- a/docs/models/Connector.md +++ b/docs/models/Connector.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **id** | **str** | ID of the connector. | [optional] [readonly] **name** | **str** | Name of the connector. | [optional] **status** | [**ConnectorStatus**](ConnectorStatus.md) | | [optional] -**description** | **str, none_type** | | [optional] +**description** | **str, none_type** | A description of the object. | [optional] **icon_url** | **str** | Link to a small square icon for the connector. | [optional] **logo_url** | **str** | Link to the full logo for the connector. | [optional] **website_url** | **str** | Link to the connector's website. | [optional] diff --git a/docs/models/ConnectorDoc.md b/docs/models/ConnectorDoc.md index f11037bd6..16471346a 100644 --- a/docs/models/ConnectorDoc.md +++ b/docs/models/ConnectorDoc.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | Name of the doc. | [optional] **audience** | **str** | Audience for the doc. | [optional] **format** | **str** | Format of the doc. | [optional] if omitted the server will use the default value of "markdown" diff --git a/docs/models/ConnectorEvent.md b/docs/models/ConnectorEvent.md index 0256a606e..54098fd26 100644 --- a/docs/models/ConnectorEvent.md +++ b/docs/models/ConnectorEvent.md @@ -8,7 +8,8 @@ Name | Type | Description | Notes **event_type** | **str** | Unify event type | [optional] **event_source** | **str** | Unify event source | [optional] **downstream_event_type** | **str** | Downstream event type | [optional] -**resource** | **str** | ID of the resource, typically a lowercased version of name. | [optional] +**resources** | **[str]** | | [optional] +**entity_type** | **str** | Unify entity type | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Consumer.md b/docs/models/Consumer.md index 7d39518a6..f1f2c26dd 100644 --- a/docs/models/Consumer.md +++ b/docs/models/Consumer.md @@ -4,16 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**consumer_id** | **str** | | [optional] -**application_id** | **str** | | [optional] +**consumer_id** | **str** | Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID. | +**application_id** | **str** | ID of your Apideck Application | [optional] [readonly] **metadata** | [**ConsumerMetadata**](ConsumerMetadata.md) | | [optional] -**connections** | [**[ConsumerConnection]**](ConsumerConnection.md) | | [optional] -**services** | **[str]** | | [optional] -**aggregated_request_count** | **float** | | [optional] +**connections** | [**[ConsumerConnection]**](ConsumerConnection.md) | | [optional] [readonly] +**services** | **[str]** | | [optional] [readonly] +**aggregated_request_count** | **float** | | [optional] [readonly] **request_counts** | [**RequestCountAllocation**](RequestCountAllocation.md) | | [optional] -**created** | **str** | | [optional] -**modified** | **str** | | [optional] -**request_count_updated** | **str** | | [optional] +**created** | **str** | | [optional] [readonly] +**modified** | **str** | | [optional] [readonly] +**request_count_updated** | **str** | | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/ConsumerMetadata.md b/docs/models/ConsumerMetadata.md index 8eb696bc5..e9644e8c4 100644 --- a/docs/models/ConsumerMetadata.md +++ b/docs/models/ConsumerMetadata.md @@ -1,13 +1,14 @@ # ConsumerMetadata +The metadata of the consumer. This is used to display the consumer in the sidebar. This is optional, but recommended. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**account_name** | **str** | | [optional] -**user_name** | **str** | | [optional] -**email** | **str** | | [optional] -**image** | **str** | | [optional] +**account_name** | **str** | The name of the account as shown in the sidebar. | [optional] +**user_name** | **str** | The name of the user as shown in the sidebar. | [optional] +**email** | **str** | The email of the user as shown in the sidebar. | [optional] +**image** | **str** | The avatar of the user in the sidebar. Must be a valid URL | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Contact.md b/docs/models/Contact.md index 0333f42db..d9ca3bc43 100644 --- a/docs/models/Contact.md +++ b/docs/models/Contact.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes **gender** | **str, none_type** | | [optional] **birthday** | **str, none_type** | | [optional] **image** | **str, none_type** | | [optional] -**photo_url** | **str, none_type** | | [optional] +**photo_url** | **str, none_type** | The URL of the photo of a person. | [optional] **lead_source** | **str, none_type** | | [optional] **fax** | **str, none_type** | | [optional] **description** | **str, none_type** | | [optional] diff --git a/docs/models/ContactsFilter.md b/docs/models/ContactsFilter.md index 85abe2730..5b233e48a 100644 --- a/docs/models/ContactsFilter.md +++ b/docs/models/ContactsFilter.md @@ -7,7 +7,8 @@ Name | Type | Description | Notes **name** | **str** | Name of the contact to filter on | [optional] **first_name** | **str** | First name of the contact to filter on | [optional] **last_name** | **str** | Last name of the contact to filter on | [optional] -**email** | **str** | E-mail of the contact to filter on | [optional] +**email** | **str** | Email of the contact to filter on | [optional] +**company_id** | **str** | Unique identifier for the associated company of the contact to filter on | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/CopyFolderRequest.md b/docs/models/CopyFolderRequest.md index eb657ae1e..7af68116c 100644 --- a/docs/models/CopyFolderRequest.md +++ b/docs/models/CopyFolderRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **parent_folder_id** | **str** | The parent folder to create the new file within. | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | The name of the folder. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/CreateCommentResponse.md b/docs/models/CreateCommentResponse.md new file mode 100644 index 000000000..ed13426ff --- /dev/null +++ b/docs/models/CreateCommentResponse.md @@ -0,0 +1,17 @@ +# CreateCommentResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CreateConsumerResponse.md b/docs/models/CreateConsumerResponse.md new file mode 100644 index 000000000..5e302d461 --- /dev/null +++ b/docs/models/CreateConsumerResponse.md @@ -0,0 +1,14 @@ +# CreateConsumerResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**data** | [**Consumer**](Consumer.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CreateEcommerceCustomerResponse.md b/docs/models/CreateEcommerceCustomerResponse.md new file mode 100644 index 000000000..78f2d45d2 --- /dev/null +++ b/docs/models/CreateEcommerceCustomerResponse.md @@ -0,0 +1,17 @@ +# CreateEcommerceCustomerResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CreateEcommerceOrderResponse.md b/docs/models/CreateEcommerceOrderResponse.md new file mode 100644 index 000000000..ff0742716 --- /dev/null +++ b/docs/models/CreateEcommerceOrderResponse.md @@ -0,0 +1,17 @@ +# CreateEcommerceOrderResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CreateFolderRequest.md b/docs/models/CreateFolderRequest.md index dd4726a9a..46807dbb3 100644 --- a/docs/models/CreateFolderRequest.md +++ b/docs/models/CreateFolderRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | The name of the folder. | **parent_folder_id** | **str** | The parent folder to create the new file within. | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **description** | **str** | Optional description of the folder. | [optional] **drive_id** | **str** | ID of the drive to create the folder in. | [optional] diff --git a/docs/models/CreateJournalEntryResponse.md b/docs/models/CreateJournalEntryResponse.md new file mode 100644 index 000000000..c1225c591 --- /dev/null +++ b/docs/models/CreateJournalEntryResponse.md @@ -0,0 +1,17 @@ +# CreateJournalEntryResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CreateProductResponse.md b/docs/models/CreateProductResponse.md new file mode 100644 index 000000000..e7d38206a --- /dev/null +++ b/docs/models/CreateProductResponse.md @@ -0,0 +1,17 @@ +# CreateProductResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CreateTicketResponse.md b/docs/models/CreateTicketResponse.md new file mode 100644 index 000000000..493d5f676 --- /dev/null +++ b/docs/models/CreateTicketResponse.md @@ -0,0 +1,17 @@ +# CreateTicketResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/CreateWebhookRequest.md b/docs/models/CreateWebhookRequest.md index 4e63870d4..fc97fcd5c 100644 --- a/docs/models/CreateWebhookRequest.md +++ b/docs/models/CreateWebhookRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **status** | [**Status**](Status.md) | | **delivery_url** | [**DeliveryUrl**](DeliveryUrl.md) | | **events** | [**[WebhookEventType]**](WebhookEventType.md) | The list of subscribed events for this webhook. [`*`] indicates that all events are enabled. | -**description** | **str, none_type** | | [optional] +**description** | **str, none_type** | A description of the object. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/CreditNote.md b/docs/models/CreditNote.md index 4712eabc0..f7a7d1806 100644 --- a/docs/models/CreditNote.md +++ b/docs/models/CreditNote.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier representing the entity | [readonly] **total_amount** | **float** | Amount of transaction | -**id** | **str** | Unique identifier representing the entity | [optional] [readonly] **number** | **str, none_type** | Credit note number. | [optional] **customer** | [**LinkedCustomer**](LinkedCustomer.md) | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] @@ -16,7 +16,7 @@ Name | Type | Description | Notes **tax_code** | **str, none_type** | Applicable tax id/code override if tax is not supplied on a line item basis. | [optional] **balance** | **float, none_type** | The balance reflecting any payments made against the transaction. | [optional] **remaining_credit** | **float, none_type** | Indicates the total credit amount still available to apply towards the payment. | [optional] -**status** | **str** | Status of payment | [optional] +**status** | **str** | Status of credit notes | [optional] **reference** | **str, none_type** | Optional reference message ie: Debit remittance detail. | [optional] **date_issued** | **datetime** | Date credit note issued - YYYY:MM::DDThh:mm:ss.sTZD | [optional] **date_paid** | **datetime, none_type** | Date credit note paid - YYYY:MM::DDThh:mm:ss.sTZD | [optional] @@ -25,12 +25,12 @@ Name | Type | Description | Notes **line_items** | [**[InvoiceLineItem]**](InvoiceLineItem.md) | | [optional] **allocations** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] **note** | **str, none_type** | Optional note to be associated with the credit note. | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**terms** | **str, none_type** | Optional terms to be associated with the credit note. | [optional] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Currency.md b/docs/models/Currency.md index 694ec4485..a8e57ee85 100644 --- a/docs/models/Currency.md +++ b/docs/models/Currency.md @@ -5,7 +5,7 @@ Indicates the associated currency for an amount of money. Values correspond to [ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", ] +**value** | **str** | Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217). | must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", "ETH", ] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/CustomerSupportCustomer.md b/docs/models/CustomerSupportCustomer.md index 5bc701ea8..46eb0d254 100644 --- a/docs/models/CustomerSupportCustomer.md +++ b/docs/models/CustomerSupportCustomer.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**company_name** | **str, none_type** | | [optional] -**first_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**company_name** | **str, none_type** | The name of the company. | [optional] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] **individual** | **bool, none_type** | | [optional] **addresses** | [**[Address]**](Address.md) | | [optional] **notes** | **str, none_type** | | [optional] @@ -17,10 +17,10 @@ Name | Type | Description | Notes **currency** | [**Currency**](Currency.md) | | [optional] **bank_accounts** | [**BankAccount**](BankAccount.md) | | [optional] **status** | **str, none_type** | Customer status | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/DeleteCommentResponse.md b/docs/models/DeleteCommentResponse.md new file mode 100644 index 000000000..b07a2e606 --- /dev/null +++ b/docs/models/DeleteCommentResponse.md @@ -0,0 +1,17 @@ +# DeleteCommentResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/DeleteConsumerResponse.md b/docs/models/DeleteConsumerResponse.md new file mode 100644 index 000000000..e387d0826 --- /dev/null +++ b/docs/models/DeleteConsumerResponse.md @@ -0,0 +1,14 @@ +# DeleteConsumerResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**data** | **bool, date, datetime, dict, float, int, list, str, none_type** | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/DeleteEcommerceCustomerResponse.md b/docs/models/DeleteEcommerceCustomerResponse.md new file mode 100644 index 000000000..e71d80ba9 --- /dev/null +++ b/docs/models/DeleteEcommerceCustomerResponse.md @@ -0,0 +1,17 @@ +# DeleteEcommerceCustomerResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/DeleteEcommerceOrderResponse.md b/docs/models/DeleteEcommerceOrderResponse.md new file mode 100644 index 000000000..a7b0e2f42 --- /dev/null +++ b/docs/models/DeleteEcommerceOrderResponse.md @@ -0,0 +1,17 @@ +# DeleteEcommerceOrderResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/DeleteJournalEntryResponse.md b/docs/models/DeleteJournalEntryResponse.md new file mode 100644 index 000000000..a63287441 --- /dev/null +++ b/docs/models/DeleteJournalEntryResponse.md @@ -0,0 +1,17 @@ +# DeleteJournalEntryResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/DeleteProductResponse.md b/docs/models/DeleteProductResponse.md new file mode 100644 index 000000000..6dc1eb363 --- /dev/null +++ b/docs/models/DeleteProductResponse.md @@ -0,0 +1,17 @@ +# DeleteProductResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/DeleteTicketResponse.md b/docs/models/DeleteTicketResponse.md new file mode 100644 index 000000000..886e80223 --- /dev/null +++ b/docs/models/DeleteTicketResponse.md @@ -0,0 +1,17 @@ +# DeleteTicketResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Department.md b/docs/models/Department.md index 854482320..20f69b10e 100644 --- a/docs/models/Department.md +++ b/docs/models/Department.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **parent_id** | **str** | Parent ID | [optional] [readonly] **name** | **str, none_type** | Department name | [optional] **code** | **str, none_type** | | [optional] **description** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Drive.md b/docs/models/Drive.md index 0d5a29b93..1495c04df 100644 --- a/docs/models/Drive.md +++ b/docs/models/Drive.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **name** | **str** | The name of the drive | -**description** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**description** | **str, none_type** | A description of the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/DriveGroup.md b/docs/models/DriveGroup.md index b6e1d24ff..3b789d886 100644 --- a/docs/models/DriveGroup.md +++ b/docs/models/DriveGroup.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **name** | **str** | The name of the drive group | **display_name** | **str** | The display name of the drive group | [optional] -**description** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**description** | **str, none_type** | A description of the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/EcommerceAddress.md b/docs/models/EcommerceAddress.md new file mode 100644 index 000000000..968e3b039 --- /dev/null +++ b/docs/models/EcommerceAddress.md @@ -0,0 +1,19 @@ +# EcommerceAddress + +An object representing a shipping or billing address. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**line1** | **str** | Address line 1 of the billing address. | [optional] +**line2** | **str** | Address line 2 of the billing address. | [optional] +**company_name** | **str** | Company name of the customer | [optional] +**city** | **str** | City of the billing address. | [optional] +**state** | **str** | State/province of the billing address. | [optional] +**postal_code** | **str** | Postal/ZIP code of the billing address. | [optional] +**country** | **str** | Country of the billing address. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceCustomer.md b/docs/models/EcommerceCustomer.md new file mode 100644 index 000000000..db1e1411b --- /dev/null +++ b/docs/models/EcommerceCustomer.md @@ -0,0 +1,23 @@ +# EcommerceCustomer + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [readonly] +**name** | **str** | Full name of the customer | [optional] +**first_name** | **str** | First name of the customer | [optional] +**last_name** | **str** | Last name of the customer | [optional] +**company_name** | **str** | Company name of the customer | [optional] +**status** | **str** | The current status of the customer | [optional] +**currency** | [**Currency**](Currency.md) | | [optional] +**emails** | [**[Email]**](Email.md) | An array of email addresses for the customer. | [optional] +**phone_numbers** | [**[PhoneNumber]**](PhoneNumber.md) | An array of phone numbers for the customer. | [optional] +**addresses** | [**[EcommerceCustomerAddresses]**](EcommerceCustomerAddresses.md) | An array of addresses for the customer. | [optional] +**orders** | [**[LinkedEcommerceOrder]**](LinkedEcommerceOrder.md) | | [optional] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceCustomerAddresses.md b/docs/models/EcommerceCustomerAddresses.md new file mode 100644 index 000000000..f269f6379 --- /dev/null +++ b/docs/models/EcommerceCustomerAddresses.md @@ -0,0 +1,19 @@ +# EcommerceCustomerAddresses + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **str** | | [optional] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**line1** | **str** | First line of the street address of the customer | [optional] +**line2** | **str** | Second line of the street address of the customer | [optional] +**city** | **str** | City of the customer | [optional] +**state** | **str** | State of the customer | [optional] +**postal_code** | **str** | Postal code of the customer | [optional] +**country** | **str** | Country of the customer | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceCustomersFilter.md b/docs/models/EcommerceCustomersFilter.md new file mode 100644 index 000000000..a707e97dd --- /dev/null +++ b/docs/models/EcommerceCustomersFilter.md @@ -0,0 +1,12 @@ +# EcommerceCustomersFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**email** | **str** | Customer email address to filter on | [optional] +**phone_number** | **str** | Customer phone number to filter on | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceDiscount.md b/docs/models/EcommerceDiscount.md new file mode 100644 index 000000000..7496fc619 --- /dev/null +++ b/docs/models/EcommerceDiscount.md @@ -0,0 +1,15 @@ +# EcommerceDiscount + +An object representing a discount applied to an ecommerce order or product. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **str** | The code used to apply the discount. | [optional] +**amount** | **str** | The fixed amount of the discount. | [optional] +**percentage** | **str** | The percentage of the discount. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceOrder.md b/docs/models/EcommerceOrder.md new file mode 100644 index 000000000..1b6e26596 --- /dev/null +++ b/docs/models/EcommerceOrder.md @@ -0,0 +1,31 @@ +# EcommerceOrder + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [readonly] +**order_number** | **str** | Order number, if any. | [optional] +**currency** | [**Currency**](Currency.md) | | [optional] +**discounts** | [**[EcommerceDiscount]**](EcommerceDiscount.md) | | [optional] +**sub_total** | **str** | Sub-total amount, normally before tax. | [optional] +**shipping_cost** | **str** | Shipping cost, if any. | [optional] +**total_discount** | **str** | Total discount, if any. | [optional] +**total_tax** | **str** | Total tax, if any. | [optional] +**total_amount** | **str** | Total amount due. | [optional] +**status** | [**EcommerceOrderStatus**](EcommerceOrderStatus.md) | | [optional] +**payment_status** | **str** | Current payment status of the order. | [optional] +**fulfillment_status** | **str** | Current fulfillment status of the order. | [optional] +**payment_method** | **str** | Payment method used for this order. | [optional] +**customer** | [**LinkedEcommerceCustomer**](LinkedEcommerceCustomer.md) | | [optional] +**billing_address** | [**EcommerceAddress**](EcommerceAddress.md) | | [optional] +**shipping_address** | [**EcommerceAddress**](EcommerceAddress.md) | | [optional] +**tracking** | [**[TrackingItem]**](TrackingItem.md) | | [optional] +**line_items** | [**[EcommerceOrderLineItem]**](EcommerceOrderLineItem.md) | | [optional] +**note** | **str** | Note for the order. | [optional] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceOrderLineItem.md b/docs/models/EcommerceOrderLineItem.md new file mode 100644 index 000000000..5b6cd9e37 --- /dev/null +++ b/docs/models/EcommerceOrderLineItem.md @@ -0,0 +1,25 @@ +# EcommerceOrderLineItem + +A single line item of an ecommerce order, representing a product or variant with associated options, quantity, and pricing information. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | The name of the product or variant associated with the line item. | +**quantity** | **str** | The quantity of the product or variant associated with the line item. | +**total_amount** | **str** | The total amount for the product(s) or variant associated with the line item, including taxes and discounts. | +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**product_id** | **str** | A unique identifier for the product associated with the line item. | [optional] +**variant_id** | **str** | A unique identifier for the variant of the product associated with the line item, if applicable. | [optional] +**sku** | **str** | The SKU of the product or variant associated with the line item. | [optional] +**description** | **str** | The description of the product or variant associated with the line item. | [optional] +**options** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] +**unit_price** | **str** | The unit price of the product or variant associated with the line item. | [optional] +**tax_rate** | **str** | The tax rate applied to the product or variant associated with the line item. | [optional] +**tax_amount** | **str** | The total tax amount applied to the product or variant associated with the line item. | [optional] +**discounts** | [**[EcommerceDiscount]**](EcommerceDiscount.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceOrderStatus.md b/docs/models/EcommerceOrderStatus.md new file mode 100644 index 000000000..5abbcce1b --- /dev/null +++ b/docs/models/EcommerceOrderStatus.md @@ -0,0 +1,12 @@ +# EcommerceOrderStatus + +Current status of the order. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **str** | Current status of the order. | must be one of ["active", "completed", "cancelled", "archived", "unknown", ] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceOrdersFilter.md b/docs/models/EcommerceOrdersFilter.md new file mode 100644 index 000000000..aa5c7d34b --- /dev/null +++ b/docs/models/EcommerceOrdersFilter.md @@ -0,0 +1,11 @@ +# EcommerceOrdersFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**email** | **str** | Customer email address to filter on | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceProduct.md b/docs/models/EcommerceProduct.md new file mode 100644 index 000000000..e3c8eddcb --- /dev/null +++ b/docs/models/EcommerceProduct.md @@ -0,0 +1,26 @@ +# EcommerceProduct + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [readonly] +**name** | **str** | The name of the product as it should be displayed to customers. | [optional] +**description** | **str** | A detailed description of the product. | [optional] +**status** | **str** | The current status of the product (active or archived). | [optional] +**price** | **str** | The price of the product. | [optional] +**sku** | **str** | The stock keeping unit of the product. | [optional] +**inventory_quantity** | **str** | The quantity of the product in stock. | [optional] +**images** | [**[EcommerceProductImages]**](EcommerceProductImages.md) | An array of image URLs for the product. | [optional] +**weight** | **str** | The weight of the product. | [optional] +**weight_unit** | **str** | The unit of measurement for the weight of the product. | [optional] +**options** | [**[EcommerceProductOptions]**](EcommerceProductOptions.md) | An array of options for the product. | [optional] +**variants** | [**[EcommerceProductVariants]**](EcommerceProductVariants.md) | | [optional] +**tags** | **[str]** | An array of tags for the product, used for organization and searching. | [optional] +**categories** | [**[EcommerceProductCategories]**](EcommerceProductCategories.md) | An array of categories for the product, used for organization and searching. | [optional] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceProductCategories.md b/docs/models/EcommerceProductCategories.md new file mode 100644 index 000000000..e54cce216 --- /dev/null +++ b/docs/models/EcommerceProductCategories.md @@ -0,0 +1,13 @@ +# EcommerceProductCategories + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**name** | **str** | The name of the category. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceProductImages.md b/docs/models/EcommerceProductImages.md new file mode 100644 index 000000000..561795671 --- /dev/null +++ b/docs/models/EcommerceProductImages.md @@ -0,0 +1,13 @@ +# EcommerceProductImages + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**url** | **str** | The URL of an image of the product. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceProductImages1.md b/docs/models/EcommerceProductImages1.md new file mode 100644 index 000000000..9700a1d9a --- /dev/null +++ b/docs/models/EcommerceProductImages1.md @@ -0,0 +1,13 @@ +# EcommerceProductImages1 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**url** | **str** | The URL of an image of the variant. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceProductOptions.md b/docs/models/EcommerceProductOptions.md new file mode 100644 index 000000000..5c1000577 --- /dev/null +++ b/docs/models/EcommerceProductOptions.md @@ -0,0 +1,14 @@ +# EcommerceProductOptions + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for the option of the product. | [optional] +**name** | **str** | The name of the option for the product. | [optional] +**values** | **[str]** | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceProductOptions1.md b/docs/models/EcommerceProductOptions1.md new file mode 100644 index 000000000..6f8fd3dd7 --- /dev/null +++ b/docs/models/EcommerceProductOptions1.md @@ -0,0 +1,14 @@ +# EcommerceProductOptions1 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for the option of the variant. | [optional] +**name** | **str** | The name of the option for the variant. | [optional] +**value** | **str** | The value of the option for the variant. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceProductVariants.md b/docs/models/EcommerceProductVariants.md new file mode 100644 index 000000000..917ad21c3 --- /dev/null +++ b/docs/models/EcommerceProductVariants.md @@ -0,0 +1,20 @@ +# EcommerceProductVariants + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for the variant of the product. | [optional] +**name** | **str** | The name for the variant, used for displaying to customers. | [optional] +**price** | **str** | The price of the variant. | [optional] +**sku** | **str** | The stock keeping unit of the variant. | [optional] +**inventory_quantity** | **str** | The quantity of the variant in stock. | [optional] +**weight** | **str** | The weight of the variant. | [optional] +**weight_unit** | **str** | The unit of measurement for the weight of the variant. | [optional] +**options** | [**[EcommerceProductOptions1]**](EcommerceProductOptions1.md) | | [optional] +**images** | [**[EcommerceProductImages1]**](EcommerceProductImages1.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EcommerceStore.md b/docs/models/EcommerceStore.md new file mode 100644 index 000000000..5a4f8eaf3 --- /dev/null +++ b/docs/models/EcommerceStore.md @@ -0,0 +1,16 @@ +# EcommerceStore + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [readonly] +**name** | **str** | The store's name | [optional] +**store_url** | **str** | The store's website URL | [optional] +**admin_url** | **str** | The store's admin login URL | [optional] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Employee.md b/docs/models/Employee.md index 4b58b051f..f582579ca 100644 --- a/docs/models/Employee.md +++ b/docs/models/Employee.md @@ -4,50 +4,50 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] -**first_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] -**middle_name** | **str, none_type** | | [optional] -**display_name** | **str, none_type** | | [optional] -**preferred_name** | **str, none_type** | | [optional] -**initials** | **str, none_type** | | [optional] -**salutation** | **str, none_type** | | [optional] -**title** | **str, none_type** | | [optional] -**marital_status** | **str, none_type** | | [optional] -**partner** | [**EmployeePartner**](EmployeePartner.md) | | [optional] -**division** | **str, none_type** | The division the user is currently in. | [optional] +**id** | **str** | A unique identifier for an object. | [readonly] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] +**middle_name** | **str, none_type** | Middle name of the person. | [optional] +**display_name** | **str, none_type** | The name used to display the employee, often a combination of their first and last names. | [optional] +**preferred_name** | **str, none_type** | The name the employee prefers to be addressed by, which may be different from their legal name. | [optional] +**initials** | **str, none_type** | The initials of the person, usually derived from their first, middle, and last names. | [optional] +**salutation** | **str, none_type** | A formal salutation for the person. For example, 'Mr', 'Mrs' | [optional] +**title** | **str, none_type** | The job title of the person. | [optional] +**marital_status** | **str, none_type** | The marital status of the employee. | [optional] +**partner** | [**Person**](Person.md) | | [optional] +**division** | **str, none_type** | The division the person is currently in. Usually a collection of departments or teams or regions. | [optional] **division_id** | **str, none_type** | Unique identifier of the division this employee belongs to. | [optional] -**department** | **str, none_type** | The department the user is currently in. | [optional] +**department** | **str, none_type** | The department the person is currently in. | [optional] **department_id** | **str, none_type** | Unique identifier of the department ID this employee belongs to. | [optional] **team** | [**EmployeeTeam**](EmployeeTeam.md) | | [optional] -**company_id** | **str, none_type** | | [optional] -**company_name** | **str, none_type** | | [optional] +**company_id** | **str, none_type** | The unique identifier of the company. | [optional] +**company_name** | **str, none_type** | The name of the company. | [optional] **employment_start_date** | **str, none_type** | A Start Date is the date that the employee started working at the company | [optional] -**employment_end_date** | **str, none_type** | A Start Date is the date that the employee ended working at the company | [optional] -**leaving_reason** | **str, none_type** | The reason because the employment ended | [optional] +**employment_end_date** | **str, none_type** | An End Date is the date that the employee ended working at the company | [optional] +**leaving_reason** | **str, none_type** | The reason because the employment ended. | [optional] **employee_number** | **str, none_type** | An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company. | [optional] -**employment_status** | **str, none_type** | | [optional] +**employment_status** | [**EmploymentStatus**](EmploymentStatus.md) | | [optional] **employment_role** | [**EmployeeEmploymentRole**](EmployeeEmploymentRole.md) | | [optional] **manager** | [**EmployeeManager**](EmployeeManager.md) | | [optional] -**direct_reports** | **[str], none_type** | | [optional] -**social_security_number** | **str, none_type** | | [optional] -**birthday** | **date, none_type** | | [optional] -**deceased_on** | **date, none_type** | | [optional] -**country_of_birth** | **str, none_type** | country code according to ISO 3166-1 alpha-2. | [optional] -**description** | **str, none_type** | | [optional] +**direct_reports** | **[str], none_type** | The direct reports refer to the individuals who report directly to a person in the organizational hierarchy. | [optional] +**social_security_number** | **str, none_type** | A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions. | [optional] +**birthday** | **date, none_type** | The date of birth of the person. | [optional] +**deceased_on** | **date, none_type** | The date the person deceased. | [optional] +**country_of_birth** | **str, none_type** | Country code according to ISO 3166-1 alpha-2. | [optional] +**description** | **str, none_type** | A description of the object. | [optional] **gender** | [**Gender**](Gender.md) | | [optional] -**pronouns** | **str, none_type** | | [optional] +**pronouns** | **str, none_type** | The preferred pronouns of the person. | [optional] **preferred_language** | **str, none_type** | language code according to ISO 639-1. For the United States - EN | [optional] **languages** | **[str, none_type]** | | [optional] **nationalities** | **[str, none_type]** | | [optional] -**photo_url** | **str, none_type** | | [optional] -**timezone** | **str, none_type** | | [optional] +**photo_url** | **str, none_type** | The URL of the photo of a person. | [optional] +**timezone** | **str, none_type** | The time zone related to the resource. The value is a string containing a standard time zone identifier, e.g. Europe/London. | [optional] **source** | **str, none_type** | When the employee is imported as a new hire, this field indicates what system (e.g. the name of the ATS) this employee was imported from. | [optional] **source_id** | **str, none_type** | Unique identifier of the employee in the system this employee was imported from (e.g. the ID in the ATS). | [optional] **record_url** | **str, none_type** | | [optional] **jobs** | [**[EmployeeJobs]**](EmployeeJobs.md) | | [optional] **compensations** | [**[EmployeeCompensations]**](EmployeeCompensations.md) | | [optional] -**works_remote** | **bool, none_type** | Indicates whether the employee works remote | [optional] +**works_remote** | **bool, none_type** | Indicates if the employee works from a remote location. | [optional] **addresses** | [**[Address]**](Address.md) | | [optional] **phone_numbers** | [**[PhoneNumber]**](PhoneNumber.md) | | [optional] **emails** | [**[Email]**](Email.md) | | [optional] @@ -58,12 +58,12 @@ Name | Type | Description | Notes **dietary_preference** | **str, none_type** | Indicate the employee's dietary preference. | [optional] **food_allergies** | **[str], none_type** | Indicate the employee's food allergies. | [optional] **tags** | **[str]** | | [optional] -**row_version** | **str, none_type** | | [optional] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] **deleted** | **bool, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/EmployeeCompensations.md b/docs/models/EmployeeCompensations.md index 6dbb417b4..2a9791160 100644 --- a/docs/models/EmployeeCompensations.md +++ b/docs/models/EmployeeCompensations.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **job_id** | **str** | The ID of the job to which the compensation belongs. | [optional] [readonly] **rate** | **float** | The amount paid per payment unit. | [optional] **payment_unit** | [**PaymentUnit**](PaymentUnit.md) | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **flsa_status** | **str** | The FLSA status for this compensation. | [optional] -**effective_date** | **str** | The effective date for this compensation. | [optional] +**effective_date** | **str** | The date on which a change to an employee's compensation takes effect. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/EmployeeEmploymentRole.md b/docs/models/EmployeeEmploymentRole.md index 8c34dd238..74b742460 100644 --- a/docs/models/EmployeeEmploymentRole.md +++ b/docs/models/EmployeeEmploymentRole.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**type** | **str, none_type** | | [optional] -**sub_type** | **str, none_type** | | [optional] +**type** | **str, none_type** | The type of employment relationship the employee has with the organization. | [optional] +**sub_type** | **str, none_type** | The work schedule of the employee. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/EmployeeJobs.md b/docs/models/EmployeeJobs.md index c0c0d633a..58d1d857b 100644 --- a/docs/models/EmployeeJobs.md +++ b/docs/models/EmployeeJobs.md @@ -4,17 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**employee_id** | **str** | | [optional] [readonly] -**title** | **str, none_type** | | [optional] -**role** | **str, none_type** | | [optional] -**start_date** | **date, none_type** | | [optional] -**end_date** | **date, none_type** | | [optional] -**compensation_rate** | **float** | | [optional] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**employee_id** | **str** | A unique identifier for an object. | [optional] [readonly] +**title** | **str, none_type** | The job title of the person. | [optional] +**role** | **str, none_type** | The position and responsibilities of the person within the organization. | [optional] +**start_date** | **date, none_type** | The date on which the employee starts working in their current job role. | [optional] +**end_date** | **date, none_type** | The date on which the employee leaves or is expected to leave their current job role. | [optional] +**compensation_rate** | **float** | The rate of pay for the employee in their current job role. | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **payment_unit** | [**PaymentUnit**](PaymentUnit.md) | | [optional] -**hired_at** | **date, none_type** | | [optional] -**is_primary** | **bool, none_type** | Indicates whether this the employee's primary job | [optional] +**hired_at** | **date, none_type** | The date on which the employee was hired by the organization | [optional] +**is_primary** | **bool, none_type** | Indicates whether this the employee's primary job. | [optional] **location** | [**Address**](Address.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/EmployeeManager.md b/docs/models/EmployeeManager.md index 7a45f6959..feabdf8b8 100644 --- a/docs/models/EmployeeManager.md +++ b/docs/models/EmployeeManager.md @@ -4,11 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**name** | **str, none_type** | | [optional] -**first_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] -**email** | **str, none_type** | | [optional] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**name** | **str, none_type** | The name of the manager, often a combination of their first and last names. | [optional] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] +**email** | **str, none_type** | The email address of the manager. | [optional] +**employment_status** | [**EmploymentStatus**](EmploymentStatus.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/EmployeeTeam.md b/docs/models/EmployeeTeam.md index c5135f13d..62aee1de5 100644 --- a/docs/models/EmployeeTeam.md +++ b/docs/models/EmployeeTeam.md @@ -1,12 +1,12 @@ # EmployeeTeam -The team the user is currently in. +The team the person is currently in. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str, none_type** | | [optional] -**name** | **str, none_type** | | [optional] +**id** | **str, none_type** | The unique identifier of the team. | [optional] +**name** | **str, none_type** | The name of the team. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/EmployeesFilter.md b/docs/models/EmployeesFilter.md index 56026fdbc..4c44fa865 100644 --- a/docs/models/EmployeesFilter.md +++ b/docs/models/EmployeesFilter.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **manager_id** | **str** | Manager id to filter on | [optional] **employment_status** | **str** | Employment status to filter on | [optional] **employee_number** | **str** | Employee number to filter on | [optional] +**department_id** | **str** | ID of the department to filter on | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/EmployeesSort.md b/docs/models/EmployeesSort.md new file mode 100644 index 000000000..32a8d6f35 --- /dev/null +++ b/docs/models/EmployeesSort.md @@ -0,0 +1,12 @@ +# EmployeesSort + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**by** | **str** | The field on which to sort the Employees | [optional] +**direction** | [**SortDirection**](SortDirection.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/EmploymentStatus.md b/docs/models/EmploymentStatus.md new file mode 100644 index 000000000..b51a8c591 --- /dev/null +++ b/docs/models/EmploymentStatus.md @@ -0,0 +1,12 @@ +# EmploymentStatus + +The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **str** | The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status. | must be one of ["active", "inactive", "terminated", "other", ] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Folder.md b/docs/models/Folder.md index e77f8a3bc..5fd418e59 100644 --- a/docs/models/Folder.md +++ b/docs/models/Folder.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | The name of the folder | **parent_folders** | [**[LinkedFolder]**](LinkedFolder.md) | The parent folders of the file, starting from the root | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **description** | **str** | Optional description of the folder | [optional] **path** | **str** | The full path of the folder (includes the folder name) | [optional] [readonly] **size** | **int** | The size of the folder in bytes | [optional] [readonly] **owner** | [**Owner**](Owner.md) | | [optional] **parent_folders_complete** | **bool** | Whether the list of parent folder is complete. Some connectors only return the direct parent of a folder | [optional] [readonly] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Gender.md b/docs/models/Gender.md index 6dcde3759..178624263 100644 --- a/docs/models/Gender.md +++ b/docs/models/Gender.md @@ -1,10 +1,11 @@ # Gender +The gender represents the gender identity of a person. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["male", "female", "unisex", "other", "not_specified", ] +**value** | **str** | The gender represents the gender identity of a person. | must be one of ["male", "female", "unisex", "other", "not_specified", ] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/GetCollectionResponse.md b/docs/models/GetCollectionResponse.md new file mode 100644 index 000000000..5bc0f7756 --- /dev/null +++ b/docs/models/GetCollectionResponse.md @@ -0,0 +1,17 @@ +# GetCollectionResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**Collection**](Collection.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetCollectionTagsResponse.md b/docs/models/GetCollectionTagsResponse.md new file mode 100644 index 000000000..c352f9706 --- /dev/null +++ b/docs/models/GetCollectionTagsResponse.md @@ -0,0 +1,19 @@ +# GetCollectionTagsResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[CollectionTag]**](CollectionTag.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetCollectionUserResponse.md b/docs/models/GetCollectionUserResponse.md new file mode 100644 index 000000000..12f83942f --- /dev/null +++ b/docs/models/GetCollectionUserResponse.md @@ -0,0 +1,17 @@ +# GetCollectionUserResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**CollectionUser**](CollectionUser.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetCollectionUsersResponse.md b/docs/models/GetCollectionUsersResponse.md new file mode 100644 index 000000000..b3c57e05e --- /dev/null +++ b/docs/models/GetCollectionUsersResponse.md @@ -0,0 +1,19 @@ +# GetCollectionUsersResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[CollectionUser]**](CollectionUser.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetCollectionsResponse.md b/docs/models/GetCollectionsResponse.md new file mode 100644 index 000000000..7bbd26443 --- /dev/null +++ b/docs/models/GetCollectionsResponse.md @@ -0,0 +1,19 @@ +# GetCollectionsResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[Collection]**](Collection.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetCommentResponse.md b/docs/models/GetCommentResponse.md new file mode 100644 index 000000000..c8f9d8d54 --- /dev/null +++ b/docs/models/GetCommentResponse.md @@ -0,0 +1,17 @@ +# GetCommentResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**CollectionTicketComment**](CollectionTicketComment.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetCommentsResponse.md b/docs/models/GetCommentsResponse.md new file mode 100644 index 000000000..60470e858 --- /dev/null +++ b/docs/models/GetCommentsResponse.md @@ -0,0 +1,19 @@ +# GetCommentsResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[CollectionTicketComment]**](CollectionTicketComment.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetEcommerceCustomerResponse.md b/docs/models/GetEcommerceCustomerResponse.md new file mode 100644 index 000000000..58662aa27 --- /dev/null +++ b/docs/models/GetEcommerceCustomerResponse.md @@ -0,0 +1,17 @@ +# GetEcommerceCustomerResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**EcommerceCustomer**](EcommerceCustomer.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetEcommerceCustomersResponse.md b/docs/models/GetEcommerceCustomersResponse.md new file mode 100644 index 000000000..b16a77b09 --- /dev/null +++ b/docs/models/GetEcommerceCustomersResponse.md @@ -0,0 +1,19 @@ +# GetEcommerceCustomersResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[EcommerceCustomer]**](EcommerceCustomer.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetEcommerceOrderResponse.md b/docs/models/GetEcommerceOrderResponse.md new file mode 100644 index 000000000..d3dbe3fe5 --- /dev/null +++ b/docs/models/GetEcommerceOrderResponse.md @@ -0,0 +1,17 @@ +# GetEcommerceOrderResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**EcommerceOrder**](EcommerceOrder.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetEcommerceOrdersResponse.md b/docs/models/GetEcommerceOrdersResponse.md new file mode 100644 index 000000000..79475087b --- /dev/null +++ b/docs/models/GetEcommerceOrdersResponse.md @@ -0,0 +1,19 @@ +# GetEcommerceOrdersResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[EcommerceOrder]**](EcommerceOrder.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetJournalEntriesResponse.md b/docs/models/GetJournalEntriesResponse.md new file mode 100644 index 000000000..82c43907c --- /dev/null +++ b/docs/models/GetJournalEntriesResponse.md @@ -0,0 +1,19 @@ +# GetJournalEntriesResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[JournalEntry]**](JournalEntry.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetJournalEntryResponse.md b/docs/models/GetJournalEntryResponse.md new file mode 100644 index 000000000..deb649335 --- /dev/null +++ b/docs/models/GetJournalEntryResponse.md @@ -0,0 +1,17 @@ +# GetJournalEntryResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**JournalEntry**](JournalEntry.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetProductResponse.md b/docs/models/GetProductResponse.md new file mode 100644 index 000000000..e74b94def --- /dev/null +++ b/docs/models/GetProductResponse.md @@ -0,0 +1,17 @@ +# GetProductResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**EcommerceProduct**](EcommerceProduct.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetProductsResponse.md b/docs/models/GetProductsResponse.md new file mode 100644 index 000000000..be89628c5 --- /dev/null +++ b/docs/models/GetProductsResponse.md @@ -0,0 +1,19 @@ +# GetProductsResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[EcommerceProduct]**](EcommerceProduct.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetStoreResponse.md b/docs/models/GetStoreResponse.md new file mode 100644 index 000000000..e12a15731 --- /dev/null +++ b/docs/models/GetStoreResponse.md @@ -0,0 +1,17 @@ +# GetStoreResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**EcommerceStore**](EcommerceStore.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetStoresResponse.md b/docs/models/GetStoresResponse.md new file mode 100644 index 000000000..6f50ca062 --- /dev/null +++ b/docs/models/GetStoresResponse.md @@ -0,0 +1,19 @@ +# GetStoresResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[EcommerceStore]**](EcommerceStore.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetTicketResponse.md b/docs/models/GetTicketResponse.md new file mode 100644 index 000000000..3663451ee --- /dev/null +++ b/docs/models/GetTicketResponse.md @@ -0,0 +1,17 @@ +# GetTicketResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**Ticket**](Ticket.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/GetTicketsResponse.md b/docs/models/GetTicketsResponse.md new file mode 100644 index 000000000..6cc080505 --- /dev/null +++ b/docs/models/GetTicketsResponse.md @@ -0,0 +1,19 @@ +# GetTicketsResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**[Ticket]**](Ticket.md) | | +**meta** | [**Meta**](Meta.md) | | [optional] +**links** | [**Links**](Links.md) | | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/HrisCompany.md b/docs/models/HrisCompany.md index 628660cfb..da091a7e5 100644 --- a/docs/models/HrisCompany.md +++ b/docs/models/HrisCompany.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **legal_name** | **str** | | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **display_name** | **str** | | [optional] **subdomain** | **str** | | [optional] **status** | **str** | | [optional] @@ -16,10 +16,10 @@ Name | Type | Description | Notes **websites** | [**[Website]**](Website.md) | | [optional] **debtor_id** | **str** | | [optional] **deleted** | **bool** | | [optional] [readonly] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/HrisJob.md b/docs/models/HrisJob.md index 9b6114cba..b17faee6e 100644 --- a/docs/models/HrisJob.md +++ b/docs/models/HrisJob.md @@ -4,13 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **employee_id** | **str** | Id of the employee | [optional] -**title** | **str, none_type** | | [optional] +**title** | **str, none_type** | The job title of the person. | [optional] **start_date** | **date, none_type** | | [optional] **end_date** | **date, none_type** | | [optional] -**employment_status** | **str, none_type** | | [optional] +**employment_status** | [**EmploymentStatus**](EmploymentStatus.md) | | [optional] **department** | **str, none_type** | Department name | [optional] +**is_primary** | **bool, none_type** | Indicates whether this the employee's primary job. | [optional] **location** | [**HrisJobLocation**](HrisJobLocation.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/IntegrationState.md b/docs/models/IntegrationState.md new file mode 100644 index 000000000..e084e00f3 --- /dev/null +++ b/docs/models/IntegrationState.md @@ -0,0 +1,12 @@ +# IntegrationState + +The current state of the Integration. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **str** | The current state of the Integration. | must be one of ["disabled", "needs_configuration", "configured", ] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Invoice.md b/docs/models/Invoice.md index 4f51d22b1..494998dd7 100644 --- a/docs/models/Invoice.md +++ b/docs/models/Invoice.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **downstream_id** | **str, none_type** | The third-party API ID of original entity | [optional] [readonly] **type** | **str, none_type** | Invoice type | [optional] **number** | **str, none_type** | Invoice number. | [optional] @@ -23,6 +23,7 @@ Name | Type | Description | Notes **total_tax** | **float, none_type** | Total tax amount applied to this invoice. | [optional] **tax_code** | **str, none_type** | Applicable tax id/code override if tax is not supplied on a line item basis. | [optional] **discount_percentage** | **float, none_type** | Discount percentage applied to this invoice. | [optional] +**discount_amount** | **float, none_type** | Discount amount applied to this invoice. | [optional] **total** | **float, none_type** | Total amount of invoice, including tax. | [optional] **balance** | **float, none_type** | Balance of invoice due. | [optional] **deposit** | **float, none_type** | Amount of deposit made to this invoice. | [optional] @@ -32,11 +33,11 @@ Name | Type | Description | Notes **shipping_address** | [**Address**](Address.md) | | [optional] **template_id** | **str, none_type** | Optional invoice template | [optional] **source_document_url** | **str, none_type** | URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero. | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/InvoiceItem.md b/docs/models/InvoiceItem.md index bed04bfbc..178d6bec8 100644 --- a/docs/models/InvoiceItem.md +++ b/docs/models/InvoiceItem.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **sold** | **bool, none_type** | Item will be available on sales transactions | [optional] **purchased** | **bool, none_type** | Item is available for purchase transactions | [optional] **tracked** | **bool, none_type** | Item is inventoried | [optional] +**taxable** | **bool, none_type** | If true, transactions for this item are taxable | [optional] **inventory_date** | **date, none_type** | The date of opening balance if inventory item is tracked - YYYY-MM-DD. | [optional] **type** | **str, none_type** | Item type | [optional] **sales_details** | [**InvoiceItemSalesDetails**](InvoiceItemSalesDetails.md) | | [optional] @@ -21,11 +22,11 @@ Name | Type | Description | Notes **income_account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] **expense_account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] **active** | **bool, none_type** | | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/InvoiceLineItem.md b/docs/models/InvoiceLineItem.md index 37467adc1..71c438d1a 100644 --- a/docs/models/InvoiceLineItem.md +++ b/docs/models/InvoiceLineItem.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **row_id** | **str** | Row ID | [optional] **code** | **str, none_type** | User defined item code | [optional] **line_number** | **int, none_type** | Line number in the invoice | [optional] @@ -16,16 +16,17 @@ Name | Type | Description | Notes **unit_price** | **float, none_type** | | [optional] **unit_of_measure** | **str, none_type** | Description of the unit type the item is sold as, ie: kg, hour. | [optional] **discount_percentage** | **float, none_type** | Discount percentage applied to the line item when supported downstream. | [optional] +**discount_amount** | **float, none_type** | Discount amount applied to the line item when supported downstream. | [optional] **location_id** | **str, none_type** | Location id | [optional] **department_id** | **str, none_type** | Department id | [optional] **item** | [**LinkedInvoiceItem**](LinkedInvoiceItem.md) | | [optional] **tax_rate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] **ledger_account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/InvoiceResponse.md b/docs/models/InvoiceResponse.md index 40e7d6838..38a58abd9 100644 --- a/docs/models/InvoiceResponse.md +++ b/docs/models/InvoiceResponse.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **downstream_id** | **str, none_type** | The third-party API ID of original entity | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/IssueTrackingEventType.md b/docs/models/IssueTrackingEventType.md new file mode 100644 index 000000000..7cf063446 --- /dev/null +++ b/docs/models/IssueTrackingEventType.md @@ -0,0 +1,11 @@ +# IssueTrackingEventType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | **str** | | must be one of ["*", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/IssuesFilter.md b/docs/models/IssuesFilter.md new file mode 100644 index 000000000..36ff37e36 --- /dev/null +++ b/docs/models/IssuesFilter.md @@ -0,0 +1,13 @@ +# IssuesFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **[str]** | Filter by ticket status, can be `open`, `closed` or `all`. Will passthrough if none of the above match | [optional] if omitted the server will use the default value of [] +**since** | **datetime** | Only return tickets since a specific date | [optional] +**assignee_id** | **str** | Only return tickets assigned to a specific user | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Item.md b/docs/models/Item.md index f22ad2527..f463c57f8 100644 --- a/docs/models/Item.md +++ b/docs/models/Item.md @@ -27,12 +27,12 @@ Name | Type | Description | Notes **modifier_groups** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] **available** | **bool, none_type** | | [optional] **hidden** | **bool, none_type** | | [optional] -**version** | **str, none_type** | | [optional] [readonly] +**version** | **str, none_type** | The user who last updated the object. | [optional] [readonly] **deleted** | **bool, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Job.md b/docs/models/Job.md index c9f2e9f35..9e6911356 100644 --- a/docs/models/Job.md +++ b/docs/models/Job.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **slug** | **str, none_type** | | [optional] -**title** | **str, none_type** | | [optional] +**title** | **str, none_type** | The job title of the person. | [optional] **sequence** | **int** | Sequence in relation to other jobs. | [optional] **visibility** | **str** | The visibility of the job | [optional] **status** | [**JobStatus**](JobStatus.md) | | [optional] @@ -21,7 +21,7 @@ Name | Type | Description | Notes **recruiters** | **[str], none_type** | The recruiter is generally someone who is tasked to help the hiring manager find and screen qualified applicant | [optional] **hiring_managers** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] **followers** | **[str], none_type** | | [optional] -**description** | **str, none_type** | | [optional] +**description** | **str, none_type** | A description of the object. | [optional] **description_html** | **str, none_type** | The job description in HTML format | [optional] **blocks** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] **closing** | **str, none_type** | | [optional] @@ -38,10 +38,10 @@ Name | Type | Description | Notes **deleted** | **bool, none_type** | | [optional] **owner_id** | **str** | | [optional] **published_at** | **datetime** | | [optional] [readonly] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/JournalEntry.md b/docs/models/JournalEntry.md new file mode 100644 index 000000000..b9d39b4ef --- /dev/null +++ b/docs/models/JournalEntry.md @@ -0,0 +1,23 @@ +# JournalEntry + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**title** | **str, none_type** | Journal entry title | [optional] +**currency_rate** | **float, none_type** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] +**currency** | [**Currency**](Currency.md) | | [optional] +**line_items** | [**[JournalEntryLineItem]**](JournalEntryLineItem.md) | Requires a minimum of 2 line items that sum to 0 | [optional] +**memo** | **str, none_type** | Reference for the journal entry. | [optional] +**posted_at** | **datetime** | This is the date on which the journal entry was added. This can be different from the creation date and can also be backdated. | [optional] +**journal_symbol** | **str, none_type** | Journal symbol of the entry. For example IND for indirect costs | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/JournalEntryLineItem.md b/docs/models/JournalEntryLineItem.md new file mode 100644 index 000000000..4bdf9c152 --- /dev/null +++ b/docs/models/JournalEntryLineItem.md @@ -0,0 +1,20 @@ +# JournalEntryLineItem + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**total_amount** | **float, none_type** | Debit entries are considered positive, and credit entries are considered negative. | +**type** | **str** | Debit entries are considered positive, and credit entries are considered negative. | +**ledger_account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**description** | **str, none_type** | User defined description | [optional] +**tax_amount** | **float, none_type** | Tax amount | [optional] +**tax_rate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] +**tracking_category** | [**LinkedTrackingCategory**](LinkedTrackingCategory.md) | | [optional] +**department_id** | **str** | A unique identifier for an object. | [optional] [readonly] +**location_id** | **str** | A unique identifier for an object. | [optional] [readonly] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/LedgerAccount.md b/docs/models/LedgerAccount.md index 98dd15a10..3b8bf7362 100644 --- a/docs/models/LedgerAccount.md +++ b/docs/models/LedgerAccount.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **display_id** | **str** | The human readable display ID used when displaying the account | [optional] **nominal_code** | **str, none_type** | The nominal code of the ledger account. | [optional] **code** | **str, none_type** | The code assigned to the account. | [optional] @@ -29,11 +29,11 @@ Name | Type | Description | Notes **sub_account** | **bool, none_type** | Whether the account is a sub account or not. | [optional] **sub_accounts** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | The sub accounts of the account. | [optional] [readonly] **last_reconciliation_date** | **date, none_type** | Reconciliation Date means the last calendar day of each Reconciliation Period. | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/LinkedEcommerceCustomer.md b/docs/models/LinkedEcommerceCustomer.md new file mode 100644 index 000000000..f32486199 --- /dev/null +++ b/docs/models/LinkedEcommerceCustomer.md @@ -0,0 +1,18 @@ +# LinkedEcommerceCustomer + +The customer this entity is linked to. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | The ID of the customer this entity is linked to. | +**name** | **str** | Full name of the customer | [optional] +**first_name** | **str** | First name of the customer | [optional] +**last_name** | **str** | Last name of the customer | [optional] +**company_name** | **str** | Company name of the customer | [optional] +**phone_numbers** | [**[PhoneNumber]**](PhoneNumber.md) | | [optional] +**emails** | [**[Email]**](Email.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/LinkedEcommerceOrder.md b/docs/models/LinkedEcommerceOrder.md new file mode 100644 index 000000000..f3c4914b7 --- /dev/null +++ b/docs/models/LinkedEcommerceOrder.md @@ -0,0 +1,14 @@ +# LinkedEcommerceOrder + +The order this entity is linked to. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**total** | **str** | The total amount of the order. | [optional] +**status** | [**EcommerceOrderStatus**](EcommerceOrderStatus.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/LinkedFolder.md b/docs/models/LinkedFolder.md index d495981f3..6727e5dfe 100644 --- a/docs/models/LinkedFolder.md +++ b/docs/models/LinkedFolder.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **name** | **str** | The name of the folder | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/LinkedParentCustomer.md b/docs/models/LinkedParentCustomer.md new file mode 100644 index 000000000..df44e5efe --- /dev/null +++ b/docs/models/LinkedParentCustomer.md @@ -0,0 +1,14 @@ +# LinkedParentCustomer + +The parent customer this entity is linked to. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | The parent ID of the customer this entity is linked to. | +**name** | **str** | The name of the parent customer. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/LinkedTaxRate.md b/docs/models/LinkedTaxRate.md index ecaa72701..2784bfd8a 100644 --- a/docs/models/LinkedTaxRate.md +++ b/docs/models/LinkedTaxRate.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **id** | **str, none_type** | The ID of the object. | [optional] **code** | **str, none_type** | Tax rate code | [optional] [readonly] **name** | **str, none_type** | Name of the tax rate | [optional] [readonly] +**rate** | **float, none_type** | Rate of the tax rate | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/LinkedTrackingCategory.md b/docs/models/LinkedTrackingCategory.md new file mode 100644 index 000000000..46ca8f7c5 --- /dev/null +++ b/docs/models/LinkedTrackingCategory.md @@ -0,0 +1,13 @@ +# LinkedTrackingCategory + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | The unique identifier for the tracking category. | [optional] +**name** | **str, none_type** | The name of the tracking category. | [optional] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/Location.md b/docs/models/Location.md index 486e97518..b98609676 100644 --- a/docs/models/Location.md +++ b/docs/models/Location.md @@ -4,17 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str, none_type** | The name of the location | [optional] **business_name** | **str, none_type** | The business name of the location | [optional] **address** | [**Address**](Address.md) | | [optional] **status** | **str, none_type** | Status of this location. | [optional] **merchant_id** | **str** | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Merchant.md b/docs/models/Merchant.md index 18db3678f..dda0a305a 100644 --- a/docs/models/Merchant.md +++ b/docs/models/Merchant.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str, none_type** | The name of the merchant | [optional] **address** | [**Address**](Address.md) | | [optional] **owner_id** | **str** | | [optional] @@ -13,10 +13,10 @@ Name | Type | Description | Notes **service_charges** | [**[ServiceCharge]**](ServiceCharge.md) | | [optional] **language** | **str, none_type** | language code according to ISO 639-1. For the United States - EN | [optional] **currency** | [**Currency**](Currency.md) | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Message.md b/docs/models/Message.md index 4d439c58c..c2503d21f 100644 --- a/docs/models/Message.md +++ b/docs/models/Message.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **_from** | **str** | The phone number that initiated the message. | **to** | **str** | The phone number that received the message. | **body** | **str** | The message text. | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **subject** | **str** | | [optional] **type** | **str** | Set to sms for SMS messages and mms for MMS messages. | [optional] **number_of_units** | **int** | The number of units that make up the complete message. Messages can be split up due to the constraints of the message size. | [optional] [readonly] @@ -21,10 +21,10 @@ Name | Type | Description | Notes **price** | [**Price**](Price.md) | | [optional] **error** | [**Error**](Error.md) | | [optional] **messaging_service_id** | **str** | The ID of the Messaging Service used with the message. In case of Plivo this links to the Powerpack ID. | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Modifier.md b/docs/models/Modifier.md index bdea65c6a..5715b54b4 100644 --- a/docs/models/Modifier.md +++ b/docs/models/Modifier.md @@ -6,16 +6,16 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **str** | | **modifier_group_id** | **str** | | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **idempotency_key** | [**IdempotencyKey**](IdempotencyKey.md) | | [optional] **alternate_name** | **str** | | [optional] **price_amount** | **float** | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **available** | **bool, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/ModifierGroup.md b/docs/models/ModifierGroup.md index d6668fda6..1c03c69be 100644 --- a/docs/models/ModifierGroup.md +++ b/docs/models/ModifierGroup.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | | [optional] **alternate_name** | **str** | | [optional] **minimum_required** | **int** | | [optional] @@ -13,11 +13,11 @@ Name | Type | Description | Notes **present_at_all_locations** | **bool** | | [optional] **modifiers** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | | [optional] **deleted** | **bool, none_type** | | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Offer.md b/docs/models/Offer.md index 8495e9121..c2f83407b 100644 --- a/docs/models/Offer.md +++ b/docs/models/Offer.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **application_id** | **str** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Opportunity.md b/docs/models/Opportunity.md index e7a3b56ed..298a6e33f 100644 --- a/docs/models/Opportunity.md +++ b/docs/models/Opportunity.md @@ -4,45 +4,46 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**title** | **str** | | -**primary_contact_id** | **str, none_type** | | -**id** | **str** | | [optional] [readonly] -**description** | **str, none_type** | | [optional] -**type** | **str, none_type** | | [optional] -**monetary_amount** | **float, none_type** | | [optional] +**title** | **str** | The title or name of the opportunity. | +**primary_contact_id** | **str, none_type** | The unique identifier of the primary contact associated with the opportunity. | +**id** | **str** | A unique identifier for the opportunity. | [optional] [readonly] +**description** | **str, none_type** | A description of the opportunity. | [optional] +**type** | **str, none_type** | The type of the opportunity | [optional] +**monetary_amount** | **float, none_type** | The monetary value associated with the opportunity | [optional] **currency** | [**Currency**](Currency.md) | | [optional] -**win_probability** | **float, none_type** | | [optional] -**expected_revenue** | **float, none_type** | Expected Revenue | [optional] [readonly] -**close_date** | **date, none_type** | | [optional] -**loss_reason_id** | **str, none_type** | | [optional] -**loss_reason** | **str, none_type** | | [optional] -**won_reason_id** | **str, none_type** | | [optional] -**won_reason** | **str, none_type** | | [optional] -**pipeline_id** | **str, none_type** | | [optional] -**pipeline_stage_id** | **str, none_type** | | [optional] -**source_id** | **str, none_type** | | [optional] -**lead_id** | **str, none_type** | | [optional] -**lead_source** | **str, none_type** | Lead source | [optional] -**contact_id** | **str, none_type** | | [optional] -**company_id** | **str, none_type** | | [optional] -**company_name** | **str, none_type** | | [optional] -**owner_id** | **str, none_type** | | [optional] -**priority** | **str, none_type** | | [optional] -**status** | **str, none_type** | | [optional] -**status_id** | **str, none_type** | | [optional] +**win_probability** | **float, none_type** | The probability of winning the opportunity, expressed as a percentage. | [optional] +**expected_revenue** | **float, none_type** | The expected revenue from the opportunity | [optional] [readonly] +**close_date** | **date, none_type** | The actual closing date for the opportunity. If close_date is null, the opportunity is not closed yet. | [optional] +**loss_reason_id** | **str, none_type** | The unique identifier of the reason why the opportunity was lost. | [optional] +**loss_reason** | **str, none_type** | The reason why the opportunity was lost. | [optional] +**won_reason_id** | **str, none_type** | The unique identifier of the reason why the opportunity was won. | [optional] +**won_reason** | **str, none_type** | The reason why the opportunity was won. | [optional] +**pipeline_id** | **str, none_type** | The unique identifier of the pipeline associated with the opportunity | [optional] +**pipeline_stage_id** | **str, none_type** | The unique identifier of the stage in the pipeline associated with the opportunity. | [optional] +**source_id** | **str, none_type** | The unique identifier of the source of the opportunity. | [optional] +**lead_id** | **str, none_type** | The unique identifier of the lead associated with the opportunity. | [optional] +**lead_source** | **str, none_type** | The source of the lead associated with the opportunity. | [optional] +**contact_id** | **str, none_type** | The unique identifier of the contact associated with the opportunity. | [optional] +**contact_ids** | **[str]** | An array of unique identifiers of all contacts associated with the opportunity. | [optional] +**company_id** | **str, none_type** | The unique identifier of the company associated with the opportunity. | [optional] +**company_name** | **str, none_type** | The name of the company associated with the opportunity. | [optional] +**owner_id** | **str, none_type** | The unique identifier of the user who owns the opportunity. | [optional] +**priority** | **str, none_type** | The priority level of the opportunity. | [optional] +**status** | **str, none_type** | The current status of the opportunity. | [optional] +**status_id** | **str, none_type** | The unique identifier of the current status of the opportunity. | [optional] **tags** | [**Tags**](Tags.md) | | [optional] -**interaction_count** | **float, none_type** | | [optional] [readonly] +**interaction_count** | **float, none_type** | The number of interactions with the opportunity. | [optional] [readonly] **custom_fields** | [**[CustomField]**](CustomField.md) | | [optional] -**stage_last_changed_at** | **datetime, none_type** | | [optional] -**last_activity_at** | **str, none_type** | | [optional] [readonly] -**deleted** | **bool** | | [optional] [readonly] -**date_stage_changed** | **datetime, none_type** | | [optional] [readonly] -**date_last_contacted** | **datetime, none_type** | | [optional] [readonly] -**date_lead_created** | **datetime, none_type** | | [optional] [readonly] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**stage_last_changed_at** | **datetime, none_type** | The date and time when the stage of the opportunity was last changed. | [optional] +**last_activity_at** | **str, none_type** | The date and time of the last activity associated with the opportunity. | [optional] [readonly] +**deleted** | **bool** | Indicates whether the opportunity has been deleted. | [optional] [readonly] +**date_stage_changed** | **datetime, none_type** | The date and time when the stage of the opportunity was last changed. | [optional] [readonly] +**date_last_contacted** | **datetime, none_type** | The date and time when the opportunity was last contacted. | [optional] [readonly] +**date_lead_created** | **datetime, none_type** | The date and time when the lead associated with the opportunity was created. | [optional] [readonly] +**updated_by** | **str, none_type** | The unique identifier of the user who last updated the opportunity. | [optional] [readonly] +**created_by** | **str, none_type** | The unique identifier of the user who created the opportunity. | [optional] [readonly] +**updated_at** | **datetime** | The date and time when the opportunity was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the opportunity was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Order.md b/docs/models/Order.md index ebe0b3074..a5ea54fa9 100644 --- a/docs/models/Order.md +++ b/docs/models/Order.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **merchant_id** | **str** | | **location_id** | **str** | | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **idempotency_key** | [**IdempotencyKey**](IdempotencyKey.md) | | [optional] **order_number** | **str** | | [optional] **order_date** | **date, none_type** | | [optional] @@ -42,10 +42,10 @@ Name | Type | Description | Notes **voided** | **bool** | | [optional] **voided_at** | **datetime** | | [optional] [readonly] **version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/OrderCustomers.md b/docs/models/OrderCustomers.md index c4e77cc3d..ee7316191 100644 --- a/docs/models/OrderCustomers.md +++ b/docs/models/OrderCustomers.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **str** | | [optional] **first_name** | **str, none_type** | | [optional] **middle_name** | **str, none_type** | | [optional] **last_name** | **str, none_type** | | [optional] diff --git a/docs/models/OrderDiscounts.md b/docs/models/OrderDiscounts.md index 6c361d1a6..922d7f2ef 100644 --- a/docs/models/OrderDiscounts.md +++ b/docs/models/OrderDiscounts.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**product_id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**product_id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | | [optional] **type** | **str** | | [optional] **amount** | **int** | | [optional] diff --git a/docs/models/OrderLineItems.md b/docs/models/OrderLineItems.md index 1011ff39a..d6d30ff4b 100644 --- a/docs/models/OrderLineItems.md +++ b/docs/models/OrderLineItems.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | | [optional] **item** | **bool, date, datetime, dict, float, int, list, str, none_type** | | [optional] **total_tax** | **int, none_type** | | [optional] diff --git a/docs/models/OrderPayments.md b/docs/models/OrderPayments.md index 8d36541ee..18a0c3dbc 100644 --- a/docs/models/OrderPayments.md +++ b/docs/models/OrderPayments.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **amount** | **int** | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/OrderRefunds.md b/docs/models/OrderRefunds.md index 1fe508c3a..e869eaa0e 100644 --- a/docs/models/OrderRefunds.md +++ b/docs/models/OrderRefunds.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**location_id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**location_id** | **str** | A unique identifier for an object. | [optional] [readonly] **amount** | **int** | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **reason** | **str** | | [optional] **status** | **str** | | [optional] -**tender_id** | **str** | | [optional] [readonly] -**transaction_id** | **str** | | [optional] [readonly] +**tender_id** | **str** | A unique identifier for an object. | [optional] [readonly] +**transaction_id** | **str** | A unique identifier for an object. | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/OrderTenders.md b/docs/models/OrderTenders.md index 9d57d20e4..6bca2d109 100644 --- a/docs/models/OrderTenders.md +++ b/docs/models/OrderTenders.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | | [optional] **type** | **str** | | [optional] **note** | **str** | | [optional] @@ -23,9 +23,9 @@ Name | Type | Description | Notes **card** | [**PaymentCard**](PaymentCard.md) | | [optional] **card_status** | **str, none_type** | The status of the card. Only applicable when the tender type is card. | [optional] **card_entry_method** | **str, none_type** | The entry method of the card. Only applicable when the tender type is card. | [optional] -**payment_id** | **str** | | [optional] [readonly] -**location_id** | **str** | | [optional] [readonly] -**transaction_id** | **str** | | [optional] [readonly] +**payment_id** | **str** | A unique identifier for an object. | [optional] [readonly] +**location_id** | **str** | A unique identifier for an object. | [optional] [readonly] +**transaction_id** | **str** | A unique identifier for an object. | [optional] [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/OrderType.md b/docs/models/OrderType.md index 937c94f84..74a8d42e3 100644 --- a/docs/models/OrderType.md +++ b/docs/models/OrderType.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | | [optional] **default** | **bool** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Passthrough.md b/docs/models/PassThroughQuery.md similarity index 97% rename from docs/models/Passthrough.md rename to docs/models/PassThroughQuery.md index ae2585788..74db458c6 100644 --- a/docs/models/Passthrough.md +++ b/docs/models/PassThroughQuery.md @@ -1,4 +1,4 @@ -# Passthrough +# PassThroughQuery ## Properties diff --git a/docs/models/Payment.md b/docs/models/Payment.md index 56ca7476f..dca0868e0 100644 --- a/docs/models/Payment.md +++ b/docs/models/Payment.md @@ -4,15 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**id** | **str** | Unique identifier representing the entity | [readonly] **total_amount** | **float** | Amount of payment | **transaction_date** | **datetime** | Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD | -**id** | **str** | Unique identifier representing the entity | [optional] [readonly] **downstream_id** | **str, none_type** | The third-party API ID of original entity | [optional] [readonly] **currency** | [**Currency**](Currency.md) | | [optional] **currency_rate** | **float, none_type** | Currency Exchange Rate at the time entity was recorded/generated. | [optional] **reference** | **str, none_type** | Optional payment reference message ie: Debit remittance detail. | [optional] -**payment_method** | **str, none_type** | Payment method | [optional] +**payment_method** | **str, none_type** | Payment method name | [optional] **payment_method_reference** | **str, none_type** | Optional reference message returned by payment method on processing | [optional] +**payment_method_id** | **str, none_type** | Unique identifier for the payment method. | [optional] **accounts_receivable_account_type** | **str, none_type** | Type of accounts receivable account. | [optional] **accounts_receivable_account_id** | **str, none_type** | Unique identifier for the account to allocate payment to. | [optional] **account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] @@ -23,13 +24,12 @@ Name | Type | Description | Notes **type** | **str** | Type of payment | [optional] **allocations** | [**[PaymentAllocations]**](PaymentAllocations.md) | | [optional] **note** | **str, none_type** | Optional note to be associated with the payment. | [optional] -**row_version** | **str, none_type** | | [optional] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] **display_id** | **str, none_type** | Payment id to be displayed. | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/PaymentCard.md b/docs/models/PaymentCard.md index c2e4e7c95..005d76cc0 100644 --- a/docs/models/PaymentCard.md +++ b/docs/models/PaymentCard.md @@ -5,7 +5,7 @@ A card's non-confidential details. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **bin** | **str, none_type** | The first six digits of the card number, known as the Bank Identification Number (BIN). | [optional] **card_brand** | **str, none_type** | The first six digits of the card number, known as the Bank Identification Number (BIN). | [optional] **card_type** | **str, none_type** | | [optional] diff --git a/docs/models/PaymentUnit.md b/docs/models/PaymentUnit.md index fa4eb1868..9e7ddaede 100644 --- a/docs/models/PaymentUnit.md +++ b/docs/models/PaymentUnit.md @@ -1,10 +1,11 @@ # PaymentUnit +Unit of measurement for employee compensation. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["hour", "week", "month", "year", "paycheck", ] +**value** | **str** | Unit of measurement for employee compensation. | must be one of ["hour", "week", "month", "year", "paycheck", ] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Payroll.md b/docs/models/Payroll.md index 9b601d6d5..90af226b8 100644 --- a/docs/models/Payroll.md +++ b/docs/models/Payroll.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **processed** | **bool** | Whether or not the payroll has been successfully processed. Note that processed payrolls cannot be updated. | **check_date** | **str** | The date on which employees will be paid for the payroll. | **start_date** | **str** | The start date, inclusive, of the pay period. | **end_date** | **str** | The end date, inclusive, of the pay period. | -**company_id** | **str, none_type** | | [optional] +**company_id** | **str, none_type** | The unique identifier of the company. | [optional] **processed_date** | **str, none_type** | The date the payroll was processed. | [optional] **totals** | **PayrollTotals** | | [optional] **compensations** | [**[Compensation]**](Compensation.md) | An array of compensations for the payroll. | [optional] diff --git a/docs/models/EmployeePartner.md b/docs/models/Person.md similarity index 66% rename from docs/models/EmployeePartner.md rename to docs/models/Person.md index 004653462..da3d7fb91 100644 --- a/docs/models/EmployeePartner.md +++ b/docs/models/Person.md @@ -1,13 +1,13 @@ -# EmployeePartner +# Person ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] -**first_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] -**middle_name** | **str, none_type** | | [optional] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] +**middle_name** | **str, none_type** | Middle name of the person. | [optional] **gender** | [**Gender**](Gender.md) | | [optional] **initials** | **str, none_type** | | [optional] **birthday** | **date, none_type** | | [optional] diff --git a/docs/models/Pipeline.md b/docs/models/Pipeline.md index 972ba63fd..7e1666e63 100644 --- a/docs/models/Pipeline.md +++ b/docs/models/Pipeline.md @@ -12,8 +12,8 @@ Name | Type | Description | Notes **display_order** | **int** | | [optional] **win_probability_enabled** | **bool** | | [optional] **stages** | [**[PipelineStages]**](PipelineStages.md) | | [optional] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/PosBankAccount.md b/docs/models/PosBankAccount.md index 5a8abfd9b..8bbf712e9 100644 --- a/docs/models/PosBankAccount.md +++ b/docs/models/PosBankAccount.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **transfer_type** | **str** | The type of the bank transfer. The type can be `ACH` or `UNKNOWN`. | [optional] **account_ownership_type** | **str** | The ownership type of the bank account performing the transfer. The type can be `INDIVIDUAL`, `COMPANY`, or `UNKNOWN`. | [optional] **fingerprint** | **str** | Uniquely identifies the bank account for this seller and can be used to determine if payments are from the same bank account. | [optional] -**country** | **str, none_type** | country code according to ISO 3166-1 alpha-2. | [optional] +**country** | **str, none_type** | Country code according to ISO 3166-1 alpha-2. | [optional] **statement_description** | **str** | The statement description as sent to the bank. | [optional] **ach_details** | [**PosBankAccountAchDetails**](PosBankAccountAchDetails.md) | | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] diff --git a/docs/models/PosPayment.md b/docs/models/PosPayment.md index 9332330c8..086b95273 100644 --- a/docs/models/PosPayment.md +++ b/docs/models/PosPayment.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **tender_id** | **str** | | **amount** | **float** | | **currency** | [**Currency**](Currency.md) | | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **merchant_id** | **str** | | [optional] **employee_id** | **str** | | [optional] **location_id** | **str** | | [optional] @@ -33,10 +33,10 @@ Name | Type | Description | Notes **wallet** | [**WalletDetails**](WalletDetails.md) | | [optional] **external_details** | [**PosPaymentExternalDetails**](PosPaymentExternalDetails.md) | | [optional] **service_charges** | [**ServiceCharges**](ServiceCharges.md) | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/ProfitAndLoss.md b/docs/models/ProfitAndLoss.md index 67c8fb6f1..f1dff2e9f 100644 --- a/docs/models/ProfitAndLoss.md +++ b/docs/models/ProfitAndLoss.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **currency** | **str** | | **income** | [**ProfitAndLossIncome**](ProfitAndLossIncome.md) | | **expenses** | [**ProfitAndLossExpenses**](ProfitAndLossExpenses.md) | | -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **start_date** | **str** | The start date of the report | [optional] **end_date** | **str** | The start date of the report | [optional] **customer_id** | **str** | Customer id | [optional] diff --git a/docs/models/Schedule.md b/docs/models/Schedule.md index 163817357..835f9a0a7 100644 --- a/docs/models/Schedule.md +++ b/docs/models/Schedule.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **start_date** | **str** | The start date, inclusive, of the schedule period. | **end_date** | **str** | The end date, inclusive, of the schedule period. | **work_pattern** | [**ScheduleWorkPattern**](ScheduleWorkPattern.md) | | diff --git a/docs/models/ServiceCharge.md b/docs/models/ServiceCharge.md index d5b926136..c42ef1161 100644 --- a/docs/models/ServiceCharge.md +++ b/docs/models/ServiceCharge.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | Service charge name | [optional] **amount** | **float** | | [optional] **percentage** | **float** | Service charge percentage. Use this field to calculate the amount of the service charge. Pass a percentage and amount at the same time. | [optional] diff --git a/docs/models/Session.md b/docs/models/Session.md index ba1db60f2..8c1cd6b14 100644 --- a/docs/models/Session.md +++ b/docs/models/Session.md @@ -5,10 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **consumer_metadata** | [**ConsumerMetadata**](ConsumerMetadata.md) | | [optional] -**custom_consumer_settings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Custom consumer settings that are passed as part of the session. | [optional] -**redirect_uri** | **str** | | [optional] +**redirect_uri** | **str** | The URL to redirect the user to after the session has been configured. | [optional] **settings** | [**SessionSettings**](SessionSettings.md) | | [optional] **theme** | [**SessionTheme**](SessionTheme.md) | | [optional] +**custom_consumer_settings** | **{str: (bool, date, datetime, dict, float, int, list, str, none_type)}** | Custom consumer settings that are passed as part of the session. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/SessionSettings.md b/docs/models/SessionSettings.md index 5231f3377..5be91368b 100644 --- a/docs/models/SessionSettings.md +++ b/docs/models/SessionSettings.md @@ -1,5 +1,6 @@ # SessionSettings +Settings to change the way the Vault is displayed. ## Properties Name | Type | Description | Notes @@ -13,6 +14,8 @@ Name | Type | Description | Notes **show_suggestions** | **bool** | Configure [Vault](/apis/vault/reference#section/Get-Started) to show the suggestions page. Defaults to `false`. | [optional] if omitted the server will use the default value of False **show_sidebar** | **bool** | Configure [Vault](/apis/vault/reference#section/Get-Started) to show the sidebar. Defaults to `true`. | [optional] if omitted the server will use the default value of True **auto_redirect** | **bool** | Automatically redirect to redirect uri after the connection has been configured as callable. Defaults to `false`. | [optional] if omitted the server will use the default value of False +**hide_guides** | **bool** | Hide Apideck connection guides in [Vault](/apis/vault/reference#section/Get-Started). Defaults to `false`. | [optional] if omitted the server will use the default value of False +**allow_actions** | **[str]** | Hide actions from your users in [Vault](/apis/vault/reference#section/Get-Started). Actions in `allow_actions` will be shown on a connection in Vault. Available actions are: `delete`, `disconnect`, `reauthorize` and `disable`. Empty array will hide all actions. By default all actions are visible. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/SessionTheme.md b/docs/models/SessionTheme.md index 765e6c514..6d95493c5 100644 --- a/docs/models/SessionTheme.md +++ b/docs/models/SessionTheme.md @@ -1,16 +1,18 @@ # SessionTheme +Theming options to change the look and feel of Vault. ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**favicon** | **str** | | [optional] -**primary_color** | **str** | | [optional] -**privacy_url** | **str** | | [optional] -**sidepanel_background_color** | **str** | | [optional] -**sidepanel_text_color** | **str** | | [optional] -**terms_url** | **str** | | [optional] -**vault_name** | **str** | | [optional] +**favicon** | **str** | The URL to the favicon to use for Vault. | [optional] +**logo** | **str** | The URL to the logo to use for Vault. | [optional] +**primary_color** | **str** | The primary color to use for Vault. | [optional] +**sidepanel_background_color** | **str** | The background color to use for the sidebar. | [optional] +**sidepanel_text_color** | **str** | The text color to use for the sidebar. | [optional] +**vault_name** | **str** | The name that will be shown in the sidebar. | [optional] +**privacy_url** | **str** | The URL to the privacy policy that will be shown in the sidebar. | [optional] +**terms_url** | **str** | The URL to the terms and conditions that will be shown in the sidebar. | [optional] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/SharedLink.md b/docs/models/SharedLink.md index 7afd53029..49be73424 100644 --- a/docs/models/SharedLink.md +++ b/docs/models/SharedLink.md @@ -12,8 +12,8 @@ Name | Type | Description | Notes **password_protected** | **bool** | Indicated if the shared link is password protected. | [optional] [readonly] **password** | **str, none_type** | Optional password for the shared link. | [optional] **expires_at** | **datetime** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/SharedLinkTarget.md b/docs/models/SharedLinkTarget.md index dc19df278..17e49f415 100644 --- a/docs/models/SharedLinkTarget.md +++ b/docs/models/SharedLinkTarget.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **name** | **str** | The name of the file | [optional] **type** | [**FileType**](FileType.md) | | [optional] diff --git a/docs/models/Supplier.md b/docs/models/Supplier.md index 74fcedb47..06ccbdf6d 100644 --- a/docs/models/Supplier.md +++ b/docs/models/Supplier.md @@ -4,32 +4,33 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **downstream_id** | **str, none_type** | The third-party API ID of original entity | [optional] [readonly] -**company_name** | **str, none_type** | | [optional] -**display_name** | **str, none_type** | Display name of supplier. | [optional] -**title** | **str, none_type** | | [optional] -**first_name** | **str, none_type** | | [optional] -**middle_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] +**display_id** | **str, none_type** | Display ID | [optional] +**display_name** | **str, none_type** | Display name | [optional] +**company_name** | **str, none_type** | The name of the company. | [optional] +**title** | **str, none_type** | The job title of the person. | [optional] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**middle_name** | **str, none_type** | Middle name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] **suffix** | **str, none_type** | | [optional] +**individual** | **bool, none_type** | Is this an individual or business supplier | [optional] **addresses** | [**[Address]**](Address.md) | | [optional] -**notes** | **str, none_type** | | [optional] **phone_numbers** | [**[PhoneNumber]**](PhoneNumber.md) | | [optional] **emails** | [**[Email]**](Email.md) | | [optional] **websites** | [**[Website]**](Website.md) | | [optional] **bank_accounts** | [**[BankAccount]**](BankAccount.md) | | [optional] +**notes** | **str, none_type** | Some notes about this supplier | [optional] **tax_rate** | [**LinkedTaxRate**](LinkedTaxRate.md) | | [optional] **tax_number** | **str, none_type** | | [optional] **currency** | [**Currency**](Currency.md) | | [optional] **account** | [**LinkedLedgerAccount**](LinkedLedgerAccount.md) | | [optional] -**status** | **str, none_type** | Customer status | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] -**row_version** | **str, none_type** | | [optional] -**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] +**status** | **str, none_type** | Supplier status | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/SuppliersFilter.md b/docs/models/SuppliersFilter.md new file mode 100644 index 000000000..3761a578b --- /dev/null +++ b/docs/models/SuppliersFilter.md @@ -0,0 +1,12 @@ +# SuppliersFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**company_name** | **str** | Company Name of supplier to search for | [optional] +**email** | **str** | Email of supplier to search for | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/TaxRate.md b/docs/models/TaxRate.md index 32ac1c269..53c6166bc 100644 --- a/docs/models/TaxRate.md +++ b/docs/models/TaxRate.md @@ -17,11 +17,11 @@ Name | Type | Description | Notes **report_tax_type** | **str, none_type** | Report Tax type to aggregate tax collected or paid for reporting purposes | [optional] **original_tax_rate_id** | **str, none_type** | ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities. | [optional] **status** | **str, none_type** | Tax rate status | [optional] -**row_version** | **str, none_type** | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**row_version** | **str, none_type** | A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object. | [optional] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Tender.md b/docs/models/Tender.md index 1122e3937..b11bbd163 100644 --- a/docs/models/Tender.md +++ b/docs/models/Tender.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **key** | **str, none_type** | | [optional] **label** | **str, none_type** | | [optional] **active** | **bool, none_type** | | [optional] @@ -12,10 +12,10 @@ Name | Type | Description | Notes **editable** | **bool, none_type** | | [optional] **opens_cash_drawer** | **bool** | If this tender opens the cash drawer | [optional] if omitted the server will use the default value of True **allows_tipping** | **bool** | Allow tipping on payment from tender | [optional] if omitted the server will use the default value of True -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/Ticket.md b/docs/models/Ticket.md new file mode 100644 index 000000000..aeba590dd --- /dev/null +++ b/docs/models/Ticket.md @@ -0,0 +1,25 @@ +# Ticket + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **str** | A unique identifier for an object. | [readonly] +**parent_id** | **str** | The ticket's parent ID | [optional] +**collection_id** | **str** | The ticket's collection ID | [optional] [readonly] +**type** | **str** | The ticket's type | [optional] +**subject** | **str** | Subject of the ticket | [optional] +**description** | **str** | The ticket's description. HTML version of description is mapped if supported by the third-party platform | [optional] +**status** | **str, none_type** | The current status of the ticket. Possible values include: open, in_progress, closed, or - in cases where there is no clear mapping - the original value passed through. | [optional] +**priority** | **str** | Priority of the ticket | [optional] +**assignees** | [**[Assignee]**](Assignee.md) | | [optional] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**due_date** | **datetime, none_type** | Due date of the ticket | [optional] +**completed_at** | **datetime, none_type** | When the ticket was completed | [optional] [readonly] +**tags** | [**[CollectionTag]**](CollectionTag.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/TicketsSort.md b/docs/models/TicketsSort.md new file mode 100644 index 000000000..14bcc662c --- /dev/null +++ b/docs/models/TicketsSort.md @@ -0,0 +1,12 @@ +# TicketsSort + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**by** | **str** | The field on which to sort the Tickets | [optional] +**direction** | [**SortDirection**](SortDirection.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/TimeOffRequest.md b/docs/models/TimeOffRequest.md index a5646a6de..59a25aad5 100644 --- a/docs/models/TimeOffRequest.md +++ b/docs/models/TimeOffRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **employee_id** | **str** | ID of the employee | [optional] **policy_id** | **str** | ID of the policy | [optional] **status** | **str** | The status of the time off request. | [optional] @@ -17,10 +17,10 @@ Name | Type | Description | Notes **units** | **str** | The unit of time off requested. Possible values include: `hours`, `days`, or `other`. | [optional] **amount** | **float** | The amount of time off requested. | [optional] **notes** | [**TimeOffRequestNotes**](TimeOffRequestNotes.md) | | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/TrackingItem.md b/docs/models/TrackingItem.md new file mode 100644 index 000000000..baaea6eb6 --- /dev/null +++ b/docs/models/TrackingItem.md @@ -0,0 +1,16 @@ +# TrackingItem + +Represents the tracking information associated with an ecommerce order. + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**provider** | **str, none_type** | The name or code of the carrier or shipping company that is handling the shipment. | +**number** | **str, none_type** | The tracking number associated with the shipment, which can be used to track the progress of the delivery. | +**url** | **str, none_type** | The URL of the carrier's tracking page, which can be used to view detailed information about the shipment's progress. | [optional] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UnifiedApiId.md b/docs/models/UnifiedApiId.md index 081493ae4..f9d085ccf 100644 --- a/docs/models/UnifiedApiId.md +++ b/docs/models/UnifiedApiId.md @@ -5,7 +5,7 @@ Name of Apideck Unified API ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | Name of Apideck Unified API | must be one of ["vault", "lead", "crm", "accounting", "file-storage", "spreadsheet", "email", "script", "sms", "team-messaging", "ecommerce", "payroll", "customer-support", "time-registration", "transactional-email", "form", "csp", "email-marketing", "ats", "hris", "pos", "project-management", "expense-management", "calendar", "procurement", ] +**value** | **str** | Name of Apideck Unified API | must be one of ["accounting", "ats", "calendar", "crm", "csp", "customer-support", "ecommerce", "email", "email-marketing", "expense-management", "file-storage", "form", "hris", "lead", "payroll", "pos", "procurement", "project-management", "script", "sms", "spreadsheet", "team-messaging", "issue-tracking", "time-registration", "transactional-email", "vault", ] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/UnifiedFile.md b/docs/models/UnifiedFile.md index db978b91c..99cc0e3b9 100644 --- a/docs/models/UnifiedFile.md +++ b/docs/models/UnifiedFile.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | A unique identifier for an object. | [readonly] **name** | **str** | The name of the file | **type** | [**FileType**](FileType.md) | | **downstream_id** | **str, none_type** | The third-party API ID of original entity | [optional] [readonly] @@ -16,10 +16,10 @@ Name | Type | Description | Notes **owner** | [**Owner**](Owner.md) | | [optional] **parent_folders** | [**[LinkedFolder]**](LinkedFolder.md) | The parent folders of the file, starting from the root | [optional] **parent_folders_complete** | **bool** | Whether the list of parent folder is complete. Some connectors only return the direct parent of a file | [optional] -**updated_by** | **str, none_type** | | [optional] [readonly] -**created_by** | **str, none_type** | | [optional] [readonly] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_by** | **str, none_type** | The user who last updated the object. | [optional] [readonly] +**created_by** | **str, none_type** | The user who created the object. | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/UnifiedId.md b/docs/models/UnifiedId.md index 07f6e0d7b..e96639c37 100644 --- a/docs/models/UnifiedId.md +++ b/docs/models/UnifiedId.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [readonly] +**id** | **str** | The unique identifier of the resource | [readonly] **any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/UpdateCommentResponse.md b/docs/models/UpdateCommentResponse.md new file mode 100644 index 000000000..f9b8afa23 --- /dev/null +++ b/docs/models/UpdateCommentResponse.md @@ -0,0 +1,17 @@ +# UpdateCommentResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateConsumerRequest.md b/docs/models/UpdateConsumerRequest.md new file mode 100644 index 000000000..07d5f8bcd --- /dev/null +++ b/docs/models/UpdateConsumerRequest.md @@ -0,0 +1,11 @@ +# UpdateConsumerRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**metadata** | [**ConsumerMetadata**](ConsumerMetadata.md) | | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateConsumerResponse.md b/docs/models/UpdateConsumerResponse.md new file mode 100644 index 000000000..8cc7173d0 --- /dev/null +++ b/docs/models/UpdateConsumerResponse.md @@ -0,0 +1,14 @@ +# UpdateConsumerResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**data** | [**Consumer**](Consumer.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateEcommerceCustomerResponse.md b/docs/models/UpdateEcommerceCustomerResponse.md new file mode 100644 index 000000000..c15c13bff --- /dev/null +++ b/docs/models/UpdateEcommerceCustomerResponse.md @@ -0,0 +1,17 @@ +# UpdateEcommerceCustomerResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateEcommerceOrderResponse.md b/docs/models/UpdateEcommerceOrderResponse.md new file mode 100644 index 000000000..c7b2c2901 --- /dev/null +++ b/docs/models/UpdateEcommerceOrderResponse.md @@ -0,0 +1,17 @@ +# UpdateEcommerceOrderResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateFileRequest.md b/docs/models/UpdateFileRequest.md new file mode 100644 index 000000000..8b583c09c --- /dev/null +++ b/docs/models/UpdateFileRequest.md @@ -0,0 +1,13 @@ +# UpdateFileRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **str** | The name of the file. | [optional] +**description** | **str** | Optional description of the file. | [optional] +**parent_folder_id** | **str** | The parent folder to create the new file within. | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateFolderRequest.md b/docs/models/UpdateFolderRequest.md index 328339209..72a2e3740 100644 --- a/docs/models/UpdateFolderRequest.md +++ b/docs/models/UpdateFolderRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **name** | **str** | The name of the folder. | [optional] **description** | **str** | Optional description of the folder. | [optional] **parent_folder_id** | **str** | The parent folder to create the new file within. | [optional] diff --git a/docs/models/UpdateJournalEntryResponse.md b/docs/models/UpdateJournalEntryResponse.md new file mode 100644 index 000000000..e6a8f5cea --- /dev/null +++ b/docs/models/UpdateJournalEntryResponse.md @@ -0,0 +1,17 @@ +# UpdateJournalEntryResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateProductResponse.md b/docs/models/UpdateProductResponse.md new file mode 100644 index 000000000..02028788c --- /dev/null +++ b/docs/models/UpdateProductResponse.md @@ -0,0 +1,17 @@ +# UpdateProductResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateTicketResponse.md b/docs/models/UpdateTicketResponse.md new file mode 100644 index 000000000..3d2208e0e --- /dev/null +++ b/docs/models/UpdateTicketResponse.md @@ -0,0 +1,17 @@ +# UpdateTicketResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status_code** | **int** | HTTP Response Status Code | +**status** | **str** | HTTP Response Status | +**service** | **str** | Apideck ID of service provider | +**resource** | **str** | Unified API resource name | +**operation** | **str** | Operation performed | +**data** | [**UnifiedId**](UnifiedId.md) | | +**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional] + +[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) + + diff --git a/docs/models/UpdateWebhookRequest.md b/docs/models/UpdateWebhookRequest.md index 4c2de61bd..535ad10be 100644 --- a/docs/models/UpdateWebhookRequest.md +++ b/docs/models/UpdateWebhookRequest.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**description** | **str, none_type** | | [optional] +**description** | **str, none_type** | A description of the object. | [optional] **status** | [**Status**](Status.md) | | [optional] **delivery_url** | [**DeliveryUrl**](DeliveryUrl.md) | | [optional] **events** | [**[WebhookEventType]**](WebhookEventType.md) | The list of subscribed events for this webhook. [`*`] indicates that all events are enabled. | [optional] diff --git a/docs/models/UploadSession.md b/docs/models/UploadSession.md index 2bb28be6c..5ff4c3522 100644 --- a/docs/models/UploadSession.md +++ b/docs/models/UploadSession.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **str** | | [optional] [readonly] +**id** | **str** | A unique identifier for an object. | [optional] [readonly] **success** | **bool** | Indicates if the upload session was completed successfully. | [optional] [readonly] **part_size** | **float** | Size in bytes of each part of the file that you will upload. Uploaded parts need to be this size for the upload to be successful. | [optional] [readonly] **parallel_upload_supported** | **bool** | Indicates if parts of the file can uploaded in parallel. | [optional] [readonly] diff --git a/docs/models/User.md b/docs/models/User.md index 9d7e2d1cb..e4b570990 100644 --- a/docs/models/User.md +++ b/docs/models/User.md @@ -8,14 +8,14 @@ Name | Type | Description | Notes **id** | **str** | | [optional] [readonly] **parent_id** | **str, none_type** | | [optional] **username** | **str, none_type** | | [optional] -**first_name** | **str, none_type** | | [optional] -**last_name** | **str, none_type** | | [optional] -**title** | **str, none_type** | | [optional] -**division** | **str, none_type** | The division the user is currently in. | [optional] -**department** | **str, none_type** | The department the user is currently in. | [optional] -**company_name** | **str, none_type** | | [optional] +**first_name** | **str, none_type** | The first name of the person. | [optional] +**last_name** | **str, none_type** | The last name of the person. | [optional] +**title** | **str, none_type** | The job title of the person. | [optional] +**division** | **str, none_type** | The division the person is currently in. Usually a collection of departments or teams or regions. | [optional] +**department** | **str, none_type** | The department the person is currently in. | [optional] +**company_name** | **str, none_type** | The name of the company. | [optional] **employee_number** | **str, none_type** | An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company. | [optional] -**description** | **str, none_type** | | [optional] +**description** | **str, none_type** | A description of the object. | [optional] **image** | **str, none_type** | | [optional] **language** | **str, none_type** | language code according to ISO 639-1. For the United States - EN | [optional] **status** | **str, none_type** | | [optional] diff --git a/docs/models/Webhook.md b/docs/models/Webhook.md index d7d9b65da..520ad84e2 100644 --- a/docs/models/Webhook.md +++ b/docs/models/Webhook.md @@ -10,10 +10,10 @@ Name | Type | Description | Notes **execute_base_url** | [**ExecuteBaseUrl**](ExecuteBaseUrl.md) | | **events** | [**[WebhookEventType]**](WebhookEventType.md) | The list of subscribed events for this webhook. [`*`] indicates that all events are enabled. | **id** | **str** | | [optional] [readonly] -**description** | **str, none_type** | | [optional] +**description** | **str, none_type** | A description of the object. | [optional] **disabled_reason** | **str** | Indicates if the webhook has has been disabled as it reached its retry limit or if account is over the usage allocated by it's plan. | [optional] -**updated_at** | **datetime, none_type** | | [optional] [readonly] -**created_at** | **datetime** | | [optional] [readonly] +**updated_at** | **datetime, none_type** | The date and time when the object was last updated. | [optional] [readonly] +**created_at** | **datetime** | The date and time when the object was created. | [optional] [readonly] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/docs/models/WebhookEventLog.md b/docs/models/WebhookEventLog.md index 997867a12..5b026572b 100644 --- a/docs/models/WebhookEventLog.md +++ b/docs/models/WebhookEventLog.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **status_code** | **int** | HTTP Status code that was returned. | [optional] **success** | **bool** | Whether or not the request was successful. | [optional] **application_id** | **str** | ID of your Apideck Application | [optional] -**consumer_id** | **str** | Consumer identifier | [optional] +**consumer_id** | **str** | Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID. | [optional] **unified_api** | [**UnifiedApiId**](UnifiedApiId.md) | | [optional] **service** | [**WebhookEventLogService**](WebhookEventLogService.md) | | [optional] **endpoint** | **str** | The URL of the webhook endpoint. | [optional] diff --git a/docs/models/WebhookEventType.md b/docs/models/WebhookEventType.md index e5f61af14..9c146257e 100644 --- a/docs/models/WebhookEventType.md +++ b/docs/models/WebhookEventType.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **str** | | must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", ] +**value** | **str** | | must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] [[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md) diff --git a/package.json b/package.json index fd3df4f54..43904581d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@apideck/python", - "version": "0.0.2", + "version": "0.0.3", "description": "Apideck Python SDK", "keywords": [ "apideck", diff --git a/pyproject.toml b/pyproject.toml index ba0bde131..ede3b898c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "apideck" -version = "0.0.2" +version = "0.0.3" authors = [ { name="Apideck", email="support@apideck.com" }, ] diff --git a/src/.openapi-generator/FILES b/src/.openapi-generator/FILES index fbee2023f..0651e9a78 100644 --- a/src/.openapi-generator/FILES +++ b/src/.openapi-generator/FILES @@ -18,8 +18,10 @@ apideck/api/ats_api.py apideck/api/connector_api.py apideck/api/crm_api.py apideck/api/customer_support_api.py +apideck/api/ecommerce_api.py apideck/api/file_storage_api.py apideck/api/hris_api.py +apideck/api/issue_tracking_api.py apideck/api/lead_api.py apideck/api/pos_api.py apideck/api/sms_api.py @@ -32,6 +34,7 @@ apideck/exceptions.py apideck/model/__init__.py apideck/model/accounting_customer.py apideck/model/accounting_event_type.py +apideck/model/activities_filter.py apideck/model/activity.py apideck/model/activity_attendee.py apideck/model/address.py @@ -47,6 +50,7 @@ apideck/model/applicant.py apideck/model/applicant_social_links.py apideck/model/applicant_websites.py apideck/model/applicants_filter.py +apideck/model/assignee.py apideck/model/ats_activity.py apideck/model/ats_event_type.py apideck/model/auth_type.py @@ -66,8 +70,15 @@ apideck/model/bank_account.py apideck/model/benefit.py apideck/model/bill.py apideck/model/bill_line_item.py +apideck/model/bills_sort.py apideck/model/branch.py apideck/model/cash_details.py +apideck/model/collection.py +apideck/model/collection_tag.py +apideck/model/collection_ticket_comment.py +apideck/model/collection_user.py +apideck/model/collections_sort.py +apideck/model/comments_sort.py apideck/model/companies_filter.py apideck/model/companies_sort.py apideck/model/company.py @@ -105,8 +116,10 @@ apideck/model/copy_folder_request.py apideck/model/create_activity_response.py apideck/model/create_applicant_response.py apideck/model/create_bill_response.py +apideck/model/create_comment_response.py apideck/model/create_company_response.py apideck/model/create_connection_response.py +apideck/model/create_consumer_response.py apideck/model/create_contact_response.py apideck/model/create_credit_note_response.py apideck/model/create_customer_response.py @@ -114,6 +127,8 @@ apideck/model/create_customer_support_customer_response.py apideck/model/create_department_response.py apideck/model/create_drive_group_response.py apideck/model/create_drive_response.py +apideck/model/create_ecommerce_customer_response.py +apideck/model/create_ecommerce_order_response.py apideck/model/create_employee_response.py apideck/model/create_file_request.py apideck/model/create_file_response.py @@ -124,6 +139,7 @@ apideck/model/create_invoice_item_response.py apideck/model/create_invoice_response.py apideck/model/create_item_response.py apideck/model/create_job_response.py +apideck/model/create_journal_entry_response.py apideck/model/create_lead_response.py apideck/model/create_ledger_account_response.py apideck/model/create_location_response.py @@ -138,12 +154,14 @@ apideck/model/create_order_type_response.py apideck/model/create_payment_response.py apideck/model/create_pipeline_response.py apideck/model/create_pos_payment_response.py +apideck/model/create_product_response.py apideck/model/create_session_response.py apideck/model/create_session_response_data.py apideck/model/create_shared_link_response.py apideck/model/create_supplier_response.py apideck/model/create_tax_rate_response.py apideck/model/create_tender_response.py +apideck/model/create_ticket_response.py apideck/model/create_time_off_request_response.py apideck/model/create_upload_session_request.py apideck/model/create_upload_session_response.py @@ -159,7 +177,9 @@ apideck/model/customers_filter.py apideck/model/deduction.py apideck/model/delete_activity_response.py apideck/model/delete_bill_response.py +apideck/model/delete_comment_response.py apideck/model/delete_company_response.py +apideck/model/delete_consumer_response.py apideck/model/delete_contact_response.py apideck/model/delete_credit_note_response.py apideck/model/delete_customer_response.py @@ -167,6 +187,8 @@ apideck/model/delete_customer_support_customer_response.py apideck/model/delete_department_response.py apideck/model/delete_drive_group_response.py apideck/model/delete_drive_response.py +apideck/model/delete_ecommerce_customer_response.py +apideck/model/delete_ecommerce_order_response.py apideck/model/delete_employee_response.py apideck/model/delete_file_response.py apideck/model/delete_folder_response.py @@ -175,6 +197,7 @@ apideck/model/delete_invoice_item_response.py apideck/model/delete_invoice_response.py apideck/model/delete_item_response.py apideck/model/delete_job_response.py +apideck/model/delete_journal_entry_response.py apideck/model/delete_lead_response.py apideck/model/delete_ledger_account_response.py apideck/model/delete_location_response.py @@ -189,10 +212,12 @@ apideck/model/delete_order_type_response.py apideck/model/delete_payment_response.py apideck/model/delete_pipeline_response.py apideck/model/delete_pos_payment_response.py +apideck/model/delete_product_response.py apideck/model/delete_shared_link_response.py apideck/model/delete_supplier_response.py apideck/model/delete_tax_rate_response.py apideck/model/delete_tender_response.py +apideck/model/delete_ticket_response.py apideck/model/delete_time_off_request_response.py apideck/model/delete_upload_session_response.py apideck/model/delete_user_response.py @@ -203,18 +228,36 @@ apideck/model/drive.py apideck/model/drive_group.py apideck/model/drive_groups_filter.py apideck/model/drives_filter.py +apideck/model/ecommerce_address.py +apideck/model/ecommerce_customer.py +apideck/model/ecommerce_customer_addresses.py +apideck/model/ecommerce_customers_filter.py +apideck/model/ecommerce_discount.py +apideck/model/ecommerce_order.py +apideck/model/ecommerce_order_line_item.py +apideck/model/ecommerce_order_status.py +apideck/model/ecommerce_orders_filter.py +apideck/model/ecommerce_product.py +apideck/model/ecommerce_product_categories.py +apideck/model/ecommerce_product_images.py +apideck/model/ecommerce_product_images1.py +apideck/model/ecommerce_product_options.py +apideck/model/ecommerce_product_options1.py +apideck/model/ecommerce_product_variants.py +apideck/model/ecommerce_store.py apideck/model/email.py apideck/model/employee.py apideck/model/employee_compensations.py apideck/model/employee_employment_role.py apideck/model/employee_jobs.py apideck/model/employee_manager.py -apideck/model/employee_partner.py apideck/model/employee_payroll.py apideck/model/employee_payrolls.py apideck/model/employee_schedules.py apideck/model/employee_team.py apideck/model/employees_filter.py +apideck/model/employees_sort.py +apideck/model/employment_status.py apideck/model/error.py apideck/model/execute_base_url.py apideck/model/execute_webhook_event_request.py @@ -241,6 +284,13 @@ apideck/model/get_applicants_response.py apideck/model/get_balance_sheet_response.py apideck/model/get_bill_response.py apideck/model/get_bills_response.py +apideck/model/get_collection_response.py +apideck/model/get_collection_tags_response.py +apideck/model/get_collection_user_response.py +apideck/model/get_collection_users_response.py +apideck/model/get_collections_response.py +apideck/model/get_comment_response.py +apideck/model/get_comments_response.py apideck/model/get_companies_response.py apideck/model/get_company_info_response.py apideck/model/get_company_response.py @@ -266,6 +316,10 @@ apideck/model/get_drive_group_response.py apideck/model/get_drive_groups_response.py apideck/model/get_drive_response.py apideck/model/get_drives_response.py +apideck/model/get_ecommerce_customer_response.py +apideck/model/get_ecommerce_customers_response.py +apideck/model/get_ecommerce_order_response.py +apideck/model/get_ecommerce_orders_response.py apideck/model/get_employee_payroll_response.py apideck/model/get_employee_payrolls_response.py apideck/model/get_employee_response.py @@ -287,6 +341,8 @@ apideck/model/get_item_response.py apideck/model/get_items_response.py apideck/model/get_job_response.py apideck/model/get_jobs_response.py +apideck/model/get_journal_entries_response.py +apideck/model/get_journal_entry_response.py apideck/model/get_lead_response.py apideck/model/get_leads_response.py apideck/model/get_ledger_account_response.py @@ -318,15 +374,21 @@ apideck/model/get_pipeline_response.py apideck/model/get_pipelines_response.py apideck/model/get_pos_payment_response.py apideck/model/get_pos_payments_response.py +apideck/model/get_product_response.py +apideck/model/get_products_response.py apideck/model/get_profit_and_loss_response.py apideck/model/get_shared_link_response.py apideck/model/get_shared_links_response.py +apideck/model/get_store_response.py +apideck/model/get_stores_response.py apideck/model/get_supplier_response.py apideck/model/get_suppliers_response.py apideck/model/get_tax_rate_response.py apideck/model/get_tax_rates_response.py apideck/model/get_tender_response.py apideck/model/get_tenders_response.py +apideck/model/get_ticket_response.py +apideck/model/get_tickets_response.py apideck/model/get_time_off_request_response.py apideck/model/get_time_off_requests_response.py apideck/model/get_upload_session_response.py @@ -341,6 +403,7 @@ apideck/model/hris_job.py apideck/model/hris_job_location.py apideck/model/hris_jobs.py apideck/model/idempotency_key.py +apideck/model/integration_state.py apideck/model/invoice.py apideck/model/invoice_item.py apideck/model/invoice_item_asset_account.py @@ -351,11 +414,15 @@ apideck/model/invoice_items_filter.py apideck/model/invoice_line_item.py apideck/model/invoice_response.py apideck/model/invoices_sort.py +apideck/model/issue_tracking_event_type.py +apideck/model/issues_filter.py apideck/model/item.py apideck/model/job.py apideck/model/job_salary.py apideck/model/job_status.py apideck/model/jobs_filter.py +apideck/model/journal_entry.py +apideck/model/journal_entry_line_item.py apideck/model/lead.py apideck/model/lead_event_type.py apideck/model/leads_filter.py @@ -366,11 +433,15 @@ apideck/model/ledger_account_parent_account.py apideck/model/ledger_accounts.py apideck/model/linked_connector_resource.py apideck/model/linked_customer.py +apideck/model/linked_ecommerce_customer.py +apideck/model/linked_ecommerce_order.py apideck/model/linked_folder.py apideck/model/linked_invoice_item.py apideck/model/linked_ledger_account.py +apideck/model/linked_parent_customer.py apideck/model/linked_supplier.py apideck/model/linked_tax_rate.py +apideck/model/linked_tracking_category.py apideck/model/links.py apideck/model/location.py apideck/model/log.py @@ -406,7 +477,7 @@ apideck/model/order_tenders.py apideck/model/order_type.py apideck/model/owner.py apideck/model/pagination_coverage.py -apideck/model/passthrough.py +apideck/model/pass_through_query.py apideck/model/payment.py apideck/model/payment_allocations.py apideck/model/payment_card.py @@ -415,6 +486,7 @@ apideck/model/payment_unit.py apideck/model/payroll.py apideck/model/payroll_totals.py apideck/model/payrolls_filter.py +apideck/model/person.py apideck/model/phone_number.py apideck/model/pipeline.py apideck/model/pipeline_stages.py @@ -455,6 +527,7 @@ apideck/model/social_link.py apideck/model/sort_direction.py apideck/model/status.py apideck/model/supplier.py +apideck/model/suppliers_filter.py apideck/model/supported_property.py apideck/model/supported_property_child_properties.py apideck/model/tags.py @@ -462,11 +535,14 @@ apideck/model/tax.py apideck/model/tax_rate.py apideck/model/tax_rates_filter.py apideck/model/tender.py +apideck/model/ticket.py +apideck/model/tickets_sort.py apideck/model/time_off_request.py apideck/model/time_off_request_notes.py apideck/model/time_off_requests_filter.py apideck/model/too_many_requests_response.py apideck/model/too_many_requests_response_detail.py +apideck/model/tracking_item.py apideck/model/unauthorized_response.py apideck/model/unexpected_error_response.py apideck/model/unified_api_id.py @@ -475,8 +551,11 @@ apideck/model/unified_id.py apideck/model/unprocessable_response.py apideck/model/update_activity_response.py apideck/model/update_bill_response.py +apideck/model/update_comment_response.py apideck/model/update_company_response.py apideck/model/update_connection_response.py +apideck/model/update_consumer_request.py +apideck/model/update_consumer_response.py apideck/model/update_contact_response.py apideck/model/update_credit_note_response.py apideck/model/update_customer_response.py @@ -484,7 +563,10 @@ apideck/model/update_customer_support_customer_response.py apideck/model/update_department_response.py apideck/model/update_drive_group_response.py apideck/model/update_drive_response.py +apideck/model/update_ecommerce_customer_response.py +apideck/model/update_ecommerce_order_response.py apideck/model/update_employee_response.py +apideck/model/update_file_request.py apideck/model/update_file_response.py apideck/model/update_folder_request.py apideck/model/update_folder_response.py @@ -493,6 +575,7 @@ apideck/model/update_invoice_items_response.py apideck/model/update_invoice_response.py apideck/model/update_item_response.py apideck/model/update_job_response.py +apideck/model/update_journal_entry_response.py apideck/model/update_lead_response.py apideck/model/update_ledger_account_response.py apideck/model/update_location_response.py @@ -507,10 +590,12 @@ apideck/model/update_order_type_response.py apideck/model/update_payment_response.py apideck/model/update_pipeline_response.py apideck/model/update_pos_payment_response.py +apideck/model/update_product_response.py apideck/model/update_shared_link_response.py apideck/model/update_supplier_response.py apideck/model/update_tax_rate_response.py apideck/model/update_tender_response.py +apideck/model/update_ticket_response.py apideck/model/update_time_off_request_response.py apideck/model/update_upload_session_response.py apideck/model/update_user_response.py @@ -538,6 +623,7 @@ apideck/rest.py docs/AccountingApi.md docs/AccountingCustomer.md docs/AccountingEventType.md +docs/ActivitiesFilter.md docs/Activity.md docs/ActivityAttendee.md docs/Address.md @@ -553,6 +639,7 @@ docs/Applicant.md docs/ApplicantSocialLinks.md docs/ApplicantWebsites.md docs/ApplicantsFilter.md +docs/Assignee.md docs/AtsActivity.md docs/AtsApi.md docs/AtsEventType.md @@ -573,8 +660,15 @@ docs/BankAccount.md docs/Benefit.md docs/Bill.md docs/BillLineItem.md +docs/BillsSort.md docs/Branch.md docs/CashDetails.md +docs/Collection.md +docs/CollectionTag.md +docs/CollectionTicketComment.md +docs/CollectionUser.md +docs/CollectionsSort.md +docs/CommentsSort.md docs/CompaniesFilter.md docs/CompaniesSort.md docs/Company.md @@ -613,8 +707,10 @@ docs/CopyFolderRequest.md docs/CreateActivityResponse.md docs/CreateApplicantResponse.md docs/CreateBillResponse.md +docs/CreateCommentResponse.md docs/CreateCompanyResponse.md docs/CreateConnectionResponse.md +docs/CreateConsumerResponse.md docs/CreateContactResponse.md docs/CreateCreditNoteResponse.md docs/CreateCustomerResponse.md @@ -622,6 +718,8 @@ docs/CreateCustomerSupportCustomerResponse.md docs/CreateDepartmentResponse.md docs/CreateDriveGroupResponse.md docs/CreateDriveResponse.md +docs/CreateEcommerceCustomerResponse.md +docs/CreateEcommerceOrderResponse.md docs/CreateEmployeeResponse.md docs/CreateFileRequest.md docs/CreateFileResponse.md @@ -632,6 +730,7 @@ docs/CreateInvoiceItemResponse.md docs/CreateInvoiceResponse.md docs/CreateItemResponse.md docs/CreateJobResponse.md +docs/CreateJournalEntryResponse.md docs/CreateLeadResponse.md docs/CreateLedgerAccountResponse.md docs/CreateLocationResponse.md @@ -646,12 +745,14 @@ docs/CreateOrderTypeResponse.md docs/CreatePaymentResponse.md docs/CreatePipelineResponse.md docs/CreatePosPaymentResponse.md +docs/CreateProductResponse.md docs/CreateSessionResponse.md docs/CreateSessionResponseData.md docs/CreateSharedLinkResponse.md docs/CreateSupplierResponse.md docs/CreateTaxRateResponse.md docs/CreateTenderResponse.md +docs/CreateTicketResponse.md docs/CreateTimeOffRequestResponse.md docs/CreateUploadSessionRequest.md docs/CreateUploadSessionResponse.md @@ -669,7 +770,9 @@ docs/CustomersFilter.md docs/Deduction.md docs/DeleteActivityResponse.md docs/DeleteBillResponse.md +docs/DeleteCommentResponse.md docs/DeleteCompanyResponse.md +docs/DeleteConsumerResponse.md docs/DeleteContactResponse.md docs/DeleteCreditNoteResponse.md docs/DeleteCustomerResponse.md @@ -677,6 +780,8 @@ docs/DeleteCustomerSupportCustomerResponse.md docs/DeleteDepartmentResponse.md docs/DeleteDriveGroupResponse.md docs/DeleteDriveResponse.md +docs/DeleteEcommerceCustomerResponse.md +docs/DeleteEcommerceOrderResponse.md docs/DeleteEmployeeResponse.md docs/DeleteFileResponse.md docs/DeleteFolderResponse.md @@ -685,6 +790,7 @@ docs/DeleteInvoiceItemResponse.md docs/DeleteInvoiceResponse.md docs/DeleteItemResponse.md docs/DeleteJobResponse.md +docs/DeleteJournalEntryResponse.md docs/DeleteLeadResponse.md docs/DeleteLedgerAccountResponse.md docs/DeleteLocationResponse.md @@ -699,10 +805,12 @@ docs/DeleteOrderTypeResponse.md docs/DeletePaymentResponse.md docs/DeletePipelineResponse.md docs/DeletePosPaymentResponse.md +docs/DeleteProductResponse.md docs/DeleteSharedLinkResponse.md docs/DeleteSupplierResponse.md docs/DeleteTaxRateResponse.md docs/DeleteTenderResponse.md +docs/DeleteTicketResponse.md docs/DeleteTimeOffRequestResponse.md docs/DeleteUploadSessionResponse.md docs/DeleteUserResponse.md @@ -713,18 +821,37 @@ docs/Drive.md docs/DriveGroup.md docs/DriveGroupsFilter.md docs/DrivesFilter.md +docs/EcommerceAddress.md +docs/EcommerceApi.md +docs/EcommerceCustomer.md +docs/EcommerceCustomerAddresses.md +docs/EcommerceCustomersFilter.md +docs/EcommerceDiscount.md +docs/EcommerceOrder.md +docs/EcommerceOrderLineItem.md +docs/EcommerceOrderStatus.md +docs/EcommerceOrdersFilter.md +docs/EcommerceProduct.md +docs/EcommerceProductCategories.md +docs/EcommerceProductImages.md +docs/EcommerceProductImages1.md +docs/EcommerceProductOptions.md +docs/EcommerceProductOptions1.md +docs/EcommerceProductVariants.md +docs/EcommerceStore.md docs/Email.md docs/Employee.md docs/EmployeeCompensations.md docs/EmployeeEmploymentRole.md docs/EmployeeJobs.md docs/EmployeeManager.md -docs/EmployeePartner.md docs/EmployeePayroll.md docs/EmployeePayrolls.md docs/EmployeeSchedules.md docs/EmployeeTeam.md docs/EmployeesFilter.md +docs/EmployeesSort.md +docs/EmploymentStatus.md docs/Error.md docs/ExecuteBaseUrl.md docs/ExecuteWebhookEventRequest.md @@ -752,6 +879,13 @@ docs/GetApplicantsResponse.md docs/GetBalanceSheetResponse.md docs/GetBillResponse.md docs/GetBillsResponse.md +docs/GetCollectionResponse.md +docs/GetCollectionTagsResponse.md +docs/GetCollectionUserResponse.md +docs/GetCollectionUsersResponse.md +docs/GetCollectionsResponse.md +docs/GetCommentResponse.md +docs/GetCommentsResponse.md docs/GetCompaniesResponse.md docs/GetCompanyInfoResponse.md docs/GetCompanyResponse.md @@ -777,6 +911,10 @@ docs/GetDriveGroupResponse.md docs/GetDriveGroupsResponse.md docs/GetDriveResponse.md docs/GetDrivesResponse.md +docs/GetEcommerceCustomerResponse.md +docs/GetEcommerceCustomersResponse.md +docs/GetEcommerceOrderResponse.md +docs/GetEcommerceOrdersResponse.md docs/GetEmployeePayrollResponse.md docs/GetEmployeePayrollsResponse.md docs/GetEmployeeResponse.md @@ -798,6 +936,8 @@ docs/GetItemResponse.md docs/GetItemsResponse.md docs/GetJobResponse.md docs/GetJobsResponse.md +docs/GetJournalEntriesResponse.md +docs/GetJournalEntryResponse.md docs/GetLeadResponse.md docs/GetLeadsResponse.md docs/GetLedgerAccountResponse.md @@ -829,15 +969,21 @@ docs/GetPipelineResponse.md docs/GetPipelinesResponse.md docs/GetPosPaymentResponse.md docs/GetPosPaymentsResponse.md +docs/GetProductResponse.md +docs/GetProductsResponse.md docs/GetProfitAndLossResponse.md docs/GetSharedLinkResponse.md docs/GetSharedLinksResponse.md +docs/GetStoreResponse.md +docs/GetStoresResponse.md docs/GetSupplierResponse.md docs/GetSuppliersResponse.md docs/GetTaxRateResponse.md docs/GetTaxRatesResponse.md docs/GetTenderResponse.md docs/GetTendersResponse.md +docs/GetTicketResponse.md +docs/GetTicketsResponse.md docs/GetTimeOffRequestResponse.md docs/GetTimeOffRequestsResponse.md docs/GetUploadSessionResponse.md @@ -853,6 +999,7 @@ docs/HrisJob.md docs/HrisJobLocation.md docs/HrisJobs.md docs/IdempotencyKey.md +docs/IntegrationState.md docs/Invoice.md docs/InvoiceItem.md docs/InvoiceItemAssetAccount.md @@ -863,11 +1010,16 @@ docs/InvoiceItemsFilter.md docs/InvoiceLineItem.md docs/InvoiceResponse.md docs/InvoicesSort.md +docs/IssueTrackingApi.md +docs/IssueTrackingEventType.md +docs/IssuesFilter.md docs/Item.md docs/Job.md docs/JobSalary.md docs/JobStatus.md docs/JobsFilter.md +docs/JournalEntry.md +docs/JournalEntryLineItem.md docs/Lead.md docs/LeadApi.md docs/LeadEventType.md @@ -879,11 +1031,15 @@ docs/LedgerAccountParentAccount.md docs/LedgerAccounts.md docs/LinkedConnectorResource.md docs/LinkedCustomer.md +docs/LinkedEcommerceCustomer.md +docs/LinkedEcommerceOrder.md docs/LinkedFolder.md docs/LinkedInvoiceItem.md docs/LinkedLedgerAccount.md +docs/LinkedParentCustomer.md docs/LinkedSupplier.md docs/LinkedTaxRate.md +docs/LinkedTrackingCategory.md docs/Links.md docs/Location.md docs/Log.md @@ -919,7 +1075,7 @@ docs/OrderTenders.md docs/OrderType.md docs/Owner.md docs/PaginationCoverage.md -docs/Passthrough.md +docs/PassThroughQuery.md docs/Payment.md docs/PaymentAllocations.md docs/PaymentCard.md @@ -928,6 +1084,7 @@ docs/PaymentUnit.md docs/Payroll.md docs/PayrollTotals.md docs/PayrollsFilter.md +docs/Person.md docs/PhoneNumber.md docs/Pipeline.md docs/PipelineStages.md @@ -970,6 +1127,7 @@ docs/SocialLink.md docs/SortDirection.md docs/Status.md docs/Supplier.md +docs/SuppliersFilter.md docs/SupportedProperty.md docs/SupportedPropertyChildProperties.md docs/Tags.md @@ -977,11 +1135,14 @@ docs/Tax.md docs/TaxRate.md docs/TaxRatesFilter.md docs/Tender.md +docs/Ticket.md +docs/TicketsSort.md docs/TimeOffRequest.md docs/TimeOffRequestNotes.md docs/TimeOffRequestsFilter.md docs/TooManyRequestsResponse.md docs/TooManyRequestsResponseDetail.md +docs/TrackingItem.md docs/UnauthorizedResponse.md docs/UnexpectedErrorResponse.md docs/UnifiedApiId.md @@ -990,8 +1151,11 @@ docs/UnifiedId.md docs/UnprocessableResponse.md docs/UpdateActivityResponse.md docs/UpdateBillResponse.md +docs/UpdateCommentResponse.md docs/UpdateCompanyResponse.md docs/UpdateConnectionResponse.md +docs/UpdateConsumerRequest.md +docs/UpdateConsumerResponse.md docs/UpdateContactResponse.md docs/UpdateCreditNoteResponse.md docs/UpdateCustomerResponse.md @@ -999,7 +1163,10 @@ docs/UpdateCustomerSupportCustomerResponse.md docs/UpdateDepartmentResponse.md docs/UpdateDriveGroupResponse.md docs/UpdateDriveResponse.md +docs/UpdateEcommerceCustomerResponse.md +docs/UpdateEcommerceOrderResponse.md docs/UpdateEmployeeResponse.md +docs/UpdateFileRequest.md docs/UpdateFileResponse.md docs/UpdateFolderRequest.md docs/UpdateFolderResponse.md @@ -1008,6 +1175,7 @@ docs/UpdateInvoiceItemsResponse.md docs/UpdateInvoiceResponse.md docs/UpdateItemResponse.md docs/UpdateJobResponse.md +docs/UpdateJournalEntryResponse.md docs/UpdateLeadResponse.md docs/UpdateLedgerAccountResponse.md docs/UpdateLocationResponse.md @@ -1022,10 +1190,12 @@ docs/UpdateOrderTypeResponse.md docs/UpdatePaymentResponse.md docs/UpdatePipelineResponse.md docs/UpdatePosPaymentResponse.md +docs/UpdateProductResponse.md docs/UpdateSharedLinkResponse.md docs/UpdateSupplierResponse.md docs/UpdateTaxRateResponse.md docs/UpdateTenderResponse.md +docs/UpdateTicketResponse.md docs/UpdateTimeOffRequestResponse.md docs/UpdateUploadSessionResponse.md docs/UpdateUserResponse.md @@ -1058,6 +1228,7 @@ test/__init__.py test/test_accounting_api.py test/test_accounting_customer.py test/test_accounting_event_type.py +test/test_activities_filter.py test/test_activity.py test/test_activity_attendee.py test/test_address.py @@ -1073,6 +1244,7 @@ test/test_applicant.py test/test_applicant_social_links.py test/test_applicant_websites.py test/test_applicants_filter.py +test/test_assignee.py test/test_ats_activity.py test/test_ats_api.py test/test_ats_event_type.py @@ -1093,8 +1265,15 @@ test/test_bank_account.py test/test_benefit.py test/test_bill.py test/test_bill_line_item.py +test/test_bills_sort.py test/test_branch.py test/test_cash_details.py +test/test_collection.py +test/test_collection_tag.py +test/test_collection_ticket_comment.py +test/test_collection_user.py +test/test_collections_sort.py +test/test_comments_sort.py test/test_companies_filter.py test/test_companies_sort.py test/test_company.py @@ -1133,8 +1312,10 @@ test/test_copy_folder_request.py test/test_create_activity_response.py test/test_create_applicant_response.py test/test_create_bill_response.py +test/test_create_comment_response.py test/test_create_company_response.py test/test_create_connection_response.py +test/test_create_consumer_response.py test/test_create_contact_response.py test/test_create_credit_note_response.py test/test_create_customer_response.py @@ -1142,6 +1323,8 @@ test/test_create_customer_support_customer_response.py test/test_create_department_response.py test/test_create_drive_group_response.py test/test_create_drive_response.py +test/test_create_ecommerce_customer_response.py +test/test_create_ecommerce_order_response.py test/test_create_employee_response.py test/test_create_file_request.py test/test_create_file_response.py @@ -1152,6 +1335,7 @@ test/test_create_invoice_item_response.py test/test_create_invoice_response.py test/test_create_item_response.py test/test_create_job_response.py +test/test_create_journal_entry_response.py test/test_create_lead_response.py test/test_create_ledger_account_response.py test/test_create_location_response.py @@ -1166,12 +1350,14 @@ test/test_create_order_type_response.py test/test_create_payment_response.py test/test_create_pipeline_response.py test/test_create_pos_payment_response.py +test/test_create_product_response.py test/test_create_session_response.py test/test_create_session_response_data.py test/test_create_shared_link_response.py test/test_create_supplier_response.py test/test_create_tax_rate_response.py test/test_create_tender_response.py +test/test_create_ticket_response.py test/test_create_time_off_request_response.py test/test_create_upload_session_request.py test/test_create_upload_session_response.py @@ -1189,7 +1375,9 @@ test/test_customers_filter.py test/test_deduction.py test/test_delete_activity_response.py test/test_delete_bill_response.py +test/test_delete_comment_response.py test/test_delete_company_response.py +test/test_delete_consumer_response.py test/test_delete_contact_response.py test/test_delete_credit_note_response.py test/test_delete_customer_response.py @@ -1197,6 +1385,8 @@ test/test_delete_customer_support_customer_response.py test/test_delete_department_response.py test/test_delete_drive_group_response.py test/test_delete_drive_response.py +test/test_delete_ecommerce_customer_response.py +test/test_delete_ecommerce_order_response.py test/test_delete_employee_response.py test/test_delete_file_response.py test/test_delete_folder_response.py @@ -1205,6 +1395,7 @@ test/test_delete_invoice_item_response.py test/test_delete_invoice_response.py test/test_delete_item_response.py test/test_delete_job_response.py +test/test_delete_journal_entry_response.py test/test_delete_lead_response.py test/test_delete_ledger_account_response.py test/test_delete_location_response.py @@ -1219,10 +1410,12 @@ test/test_delete_order_type_response.py test/test_delete_payment_response.py test/test_delete_pipeline_response.py test/test_delete_pos_payment_response.py +test/test_delete_product_response.py test/test_delete_shared_link_response.py test/test_delete_supplier_response.py test/test_delete_tax_rate_response.py test/test_delete_tender_response.py +test/test_delete_ticket_response.py test/test_delete_time_off_request_response.py test/test_delete_upload_session_response.py test/test_delete_user_response.py @@ -1233,18 +1426,37 @@ test/test_drive.py test/test_drive_group.py test/test_drive_groups_filter.py test/test_drives_filter.py +test/test_ecommerce_address.py +test/test_ecommerce_api.py +test/test_ecommerce_customer.py +test/test_ecommerce_customer_addresses.py +test/test_ecommerce_customers_filter.py +test/test_ecommerce_discount.py +test/test_ecommerce_order.py +test/test_ecommerce_order_line_item.py +test/test_ecommerce_order_status.py +test/test_ecommerce_orders_filter.py +test/test_ecommerce_product.py +test/test_ecommerce_product_categories.py +test/test_ecommerce_product_images.py +test/test_ecommerce_product_images1.py +test/test_ecommerce_product_options.py +test/test_ecommerce_product_options1.py +test/test_ecommerce_product_variants.py +test/test_ecommerce_store.py test/test_email.py test/test_employee.py test/test_employee_compensations.py test/test_employee_employment_role.py test/test_employee_jobs.py test/test_employee_manager.py -test/test_employee_partner.py test/test_employee_payroll.py test/test_employee_payrolls.py test/test_employee_schedules.py test/test_employee_team.py test/test_employees_filter.py +test/test_employees_sort.py +test/test_employment_status.py test/test_error.py test/test_execute_base_url.py test/test_execute_webhook_event_request.py @@ -1272,6 +1484,13 @@ test/test_get_applicants_response.py test/test_get_balance_sheet_response.py test/test_get_bill_response.py test/test_get_bills_response.py +test/test_get_collection_response.py +test/test_get_collection_tags_response.py +test/test_get_collection_user_response.py +test/test_get_collection_users_response.py +test/test_get_collections_response.py +test/test_get_comment_response.py +test/test_get_comments_response.py test/test_get_companies_response.py test/test_get_company_info_response.py test/test_get_company_response.py @@ -1297,6 +1516,10 @@ test/test_get_drive_group_response.py test/test_get_drive_groups_response.py test/test_get_drive_response.py test/test_get_drives_response.py +test/test_get_ecommerce_customer_response.py +test/test_get_ecommerce_customers_response.py +test/test_get_ecommerce_order_response.py +test/test_get_ecommerce_orders_response.py test/test_get_employee_payroll_response.py test/test_get_employee_payrolls_response.py test/test_get_employee_response.py @@ -1318,6 +1541,8 @@ test/test_get_item_response.py test/test_get_items_response.py test/test_get_job_response.py test/test_get_jobs_response.py +test/test_get_journal_entries_response.py +test/test_get_journal_entry_response.py test/test_get_lead_response.py test/test_get_leads_response.py test/test_get_ledger_account_response.py @@ -1349,15 +1574,21 @@ test/test_get_pipeline_response.py test/test_get_pipelines_response.py test/test_get_pos_payment_response.py test/test_get_pos_payments_response.py +test/test_get_product_response.py +test/test_get_products_response.py test/test_get_profit_and_loss_response.py test/test_get_shared_link_response.py test/test_get_shared_links_response.py +test/test_get_store_response.py +test/test_get_stores_response.py test/test_get_supplier_response.py test/test_get_suppliers_response.py test/test_get_tax_rate_response.py test/test_get_tax_rates_response.py test/test_get_tender_response.py test/test_get_tenders_response.py +test/test_get_ticket_response.py +test/test_get_tickets_response.py test/test_get_time_off_request_response.py test/test_get_time_off_requests_response.py test/test_get_upload_session_response.py @@ -1373,6 +1604,7 @@ test/test_hris_job.py test/test_hris_job_location.py test/test_hris_jobs.py test/test_idempotency_key.py +test/test_integration_state.py test/test_invoice.py test/test_invoice_item.py test/test_invoice_item_asset_account.py @@ -1383,11 +1615,16 @@ test/test_invoice_items_filter.py test/test_invoice_line_item.py test/test_invoice_response.py test/test_invoices_sort.py +test/test_issue_tracking_api.py +test/test_issue_tracking_event_type.py +test/test_issues_filter.py test/test_item.py test/test_job.py test/test_job_salary.py test/test_job_status.py test/test_jobs_filter.py +test/test_journal_entry.py +test/test_journal_entry_line_item.py test/test_lead.py test/test_lead_api.py test/test_lead_event_type.py @@ -1399,11 +1636,15 @@ test/test_ledger_account_parent_account.py test/test_ledger_accounts.py test/test_linked_connector_resource.py test/test_linked_customer.py +test/test_linked_ecommerce_customer.py +test/test_linked_ecommerce_order.py test/test_linked_folder.py test/test_linked_invoice_item.py test/test_linked_ledger_account.py +test/test_linked_parent_customer.py test/test_linked_supplier.py test/test_linked_tax_rate.py +test/test_linked_tracking_category.py test/test_links.py test/test_location.py test/test_log.py @@ -1439,7 +1680,7 @@ test/test_order_tenders.py test/test_order_type.py test/test_owner.py test/test_pagination_coverage.py -test/test_passthrough.py +test/test_pass_through_query.py test/test_payment.py test/test_payment_allocations.py test/test_payment_card.py @@ -1448,6 +1689,7 @@ test/test_payment_unit.py test/test_payroll.py test/test_payroll_totals.py test/test_payrolls_filter.py +test/test_person.py test/test_phone_number.py test/test_pipeline.py test/test_pipeline_stages.py @@ -1490,6 +1732,7 @@ test/test_social_link.py test/test_sort_direction.py test/test_status.py test/test_supplier.py +test/test_suppliers_filter.py test/test_supported_property.py test/test_supported_property_child_properties.py test/test_tags.py @@ -1497,11 +1740,14 @@ test/test_tax.py test/test_tax_rate.py test/test_tax_rates_filter.py test/test_tender.py +test/test_ticket.py +test/test_tickets_sort.py test/test_time_off_request.py test/test_time_off_request_notes.py test/test_time_off_requests_filter.py test/test_too_many_requests_response.py test/test_too_many_requests_response_detail.py +test/test_tracking_item.py test/test_unauthorized_response.py test/test_unexpected_error_response.py test/test_unified_api_id.py @@ -1510,8 +1756,11 @@ test/test_unified_id.py test/test_unprocessable_response.py test/test_update_activity_response.py test/test_update_bill_response.py +test/test_update_comment_response.py test/test_update_company_response.py test/test_update_connection_response.py +test/test_update_consumer_request.py +test/test_update_consumer_response.py test/test_update_contact_response.py test/test_update_credit_note_response.py test/test_update_customer_response.py @@ -1519,7 +1768,10 @@ test/test_update_customer_support_customer_response.py test/test_update_department_response.py test/test_update_drive_group_response.py test/test_update_drive_response.py +test/test_update_ecommerce_customer_response.py +test/test_update_ecommerce_order_response.py test/test_update_employee_response.py +test/test_update_file_request.py test/test_update_file_response.py test/test_update_folder_request.py test/test_update_folder_response.py @@ -1528,6 +1780,7 @@ test/test_update_invoice_items_response.py test/test_update_invoice_response.py test/test_update_item_response.py test/test_update_job_response.py +test/test_update_journal_entry_response.py test/test_update_lead_response.py test/test_update_ledger_account_response.py test/test_update_location_response.py @@ -1542,10 +1795,12 @@ test/test_update_order_type_response.py test/test_update_payment_response.py test/test_update_pipeline_response.py test/test_update_pos_payment_response.py +test/test_update_product_response.py test/test_update_shared_link_response.py test/test_update_supplier_response.py test/test_update_tax_rate_response.py test/test_update_tender_response.py +test/test_update_ticket_response.py test/test_update_time_off_request_response.py test/test_update_upload_session_response.py test/test_update_user_response.py diff --git a/src/apideck/__init__.py b/src/apideck/__init__.py index 5ce05ba03..97b0140cf 100644 --- a/src/apideck/__init__.py +++ b/src/apideck/__init__.py @@ -5,12 +5,12 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ -__version__ = "0.0.2" +__version__ = "0.0.3" # import ApiClient from apideck.api_client import ApiClient diff --git a/src/apideck/api/accounting_api.py b/src/apideck/api/accounting_api.py index 20594a3a3..e32b60bda 100644 --- a/src/apideck/api/accounting_api.py +++ b/src/apideck/api/accounting_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -25,11 +25,13 @@ from apideck.model.bad_request_response import BadRequestResponse from apideck.model.balance_sheet_filter import BalanceSheetFilter from apideck.model.bill import Bill +from apideck.model.bills_sort import BillsSort from apideck.model.create_bill_response import CreateBillResponse from apideck.model.create_credit_note_response import CreateCreditNoteResponse from apideck.model.create_customer_response import CreateCustomerResponse from apideck.model.create_invoice_item_response import CreateInvoiceItemResponse from apideck.model.create_invoice_response import CreateInvoiceResponse +from apideck.model.create_journal_entry_response import CreateJournalEntryResponse from apideck.model.create_ledger_account_response import CreateLedgerAccountResponse from apideck.model.create_payment_response import CreatePaymentResponse from apideck.model.create_supplier_response import CreateSupplierResponse @@ -40,6 +42,7 @@ from apideck.model.delete_credit_note_response import DeleteCreditNoteResponse from apideck.model.delete_customer_response import DeleteCustomerResponse from apideck.model.delete_invoice_response import DeleteInvoiceResponse +from apideck.model.delete_journal_entry_response import DeleteJournalEntryResponse from apideck.model.delete_ledger_account_response import DeleteLedgerAccountResponse from apideck.model.delete_payment_response import DeletePaymentResponse from apideck.model.delete_supplier_response import DeleteSupplierResponse @@ -56,6 +59,8 @@ from apideck.model.get_invoice_items_response import GetInvoiceItemsResponse from apideck.model.get_invoice_response import GetInvoiceResponse from apideck.model.get_invoices_response import GetInvoicesResponse +from apideck.model.get_journal_entries_response import GetJournalEntriesResponse +from apideck.model.get_journal_entry_response import GetJournalEntryResponse from apideck.model.get_ledger_account_response import GetLedgerAccountResponse from apideck.model.get_ledger_accounts_response import GetLedgerAccountsResponse from apideck.model.get_payment_response import GetPaymentResponse @@ -69,13 +74,15 @@ from apideck.model.invoice_item import InvoiceItem from apideck.model.invoice_items_filter import InvoiceItemsFilter from apideck.model.invoices_sort import InvoicesSort +from apideck.model.journal_entry import JournalEntry from apideck.model.ledger_account import LedgerAccount from apideck.model.not_found_response import NotFoundResponse -from apideck.model.passthrough import Passthrough +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.payment import Payment from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.profit_and_loss_filter import ProfitAndLossFilter from apideck.model.supplier import Supplier +from apideck.model.suppliers_filter import SuppliersFilter from apideck.model.tax_rate import TaxRate from apideck.model.tax_rates_filter import TaxRatesFilter from apideck.model.unauthorized_response import UnauthorizedResponse @@ -86,6 +93,7 @@ from apideck.model.update_customer_response import UpdateCustomerResponse from apideck.model.update_invoice_items_response import UpdateInvoiceItemsResponse from apideck.model.update_invoice_response import UpdateInvoiceResponse +from apideck.model.update_journal_entry_response import UpdateJournalEntryResponse from apideck.model.update_ledger_account_response import UpdateLedgerAccountResponse from apideck.model.update_payment_response import UpdatePaymentResponse from apideck.model.update_supplier_response import UpdateSupplierResponse @@ -144,7 +152,7 @@ def __init__(self, api_client=None): 'service_id': (str,), 'pass_through': - (Passthrough,), + (PassThroughQuery,), 'filter': (BalanceSheetFilter,), 'raw': @@ -268,10 +276,14 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'sort', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -302,6 +314,12 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'sort': + (BillsSort,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -310,6 +328,9 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'sort': 'sort', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -318,6 +339,9 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'sort': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -419,11 +443,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -446,6 +472,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -453,6 +481,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -460,6 +489,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -567,9 +597,11 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -590,18 +622,22 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -705,10 +741,13 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -739,6 +778,10 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -747,6 +790,8 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -755,6 +800,8 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -856,11 +903,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -883,6 +932,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -890,6 +941,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -897,6 +949,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1079,10 +1132,13 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1115,6 +1171,10 @@ def __init__(self, api_client=None): (int,), 'filter': (CustomersFilter,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1124,6 +1184,8 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1133,6 +1195,8 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1234,11 +1298,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1261,6 +1327,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1268,6 +1336,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1275,6 +1344,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1457,10 +1527,13 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1493,6 +1566,10 @@ def __init__(self, api_client=None): (int,), 'filter': (InvoiceItemsFilter,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1502,6 +1579,8 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1511,6 +1590,8 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1612,11 +1693,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1639,6 +1722,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1646,6 +1731,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1653,6 +1739,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1835,10 +1922,13 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'sort', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1871,6 +1961,10 @@ def __init__(self, api_client=None): (int,), 'sort': (InvoicesSort,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1880,6 +1974,8 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'sort': 'sort', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1889,6 +1985,8 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'sort': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1990,11 +2088,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2017,6 +2117,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2024,6 +2126,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2031,6 +2134,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2121,27 +2225,27 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.ledger_accounts_add_endpoint = _Endpoint( + self.journal_entries_add_endpoint = _Endpoint( settings={ - 'response_type': (CreateLedgerAccountResponse,), + 'response_type': (CreateJournalEntryResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/ledger-accounts', - 'operation_id': 'ledger_accounts_add', + 'endpoint_path': '/accounting/journal-entries', + 'operation_id': 'journal_entries_add', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'ledger_account', + 'journal_entry', 'raw', 'consumer_id', 'app_id', 'service_id', ], 'required': [ - 'ledger_account', + 'journal_entry', ], 'nullable': [ ], @@ -2156,8 +2260,8 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'ledger_account': - (LedgerAccount,), + 'journal_entry': + (JournalEntry,), 'raw': (bool,), 'consumer_id': @@ -2174,7 +2278,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', }, 'location_map': { - 'ledger_account': 'body', + 'journal_entry': 'body', 'raw': 'query', 'consumer_id': 'header', 'app_id': 'header', @@ -2193,14 +2297,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.ledger_accounts_all_endpoint = _Endpoint( + self.journal_entries_all_endpoint = _Endpoint( settings={ - 'response_type': (GetLedgerAccountsResponse,), + 'response_type': (GetJournalEntriesResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/ledger-accounts', - 'operation_id': 'ledger_accounts_all', + 'endpoint_path': '/accounting/journal-entries', + 'operation_id': 'journal_entries_all', 'http_method': 'GET', 'servers': None, }, @@ -2212,10 +2316,13 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2246,6 +2353,10 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2254,6 +2365,8 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2262,6 +2375,8 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2274,14 +2389,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.ledger_accounts_delete_endpoint = _Endpoint( + self.journal_entries_delete_endpoint = _Endpoint( settings={ - 'response_type': (DeleteLedgerAccountResponse,), + 'response_type': (DeleteJournalEntryResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/ledger-accounts/{id}', - 'operation_id': 'ledger_accounts_delete', + 'endpoint_path': '/accounting/journal-entries/{id}', + 'operation_id': 'journal_entries_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -2345,14 +2460,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.ledger_accounts_one_endpoint = _Endpoint( + self.journal_entries_one_endpoint = _Endpoint( settings={ - 'response_type': (GetLedgerAccountResponse,), + 'response_type': (GetJournalEntryResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/ledger-accounts/{id}', - 'operation_id': 'ledger_accounts_one', + 'endpoint_path': '/accounting/journal-entries/{id}', + 'operation_id': 'journal_entries_one', 'http_method': 'GET', 'servers': None, }, @@ -2363,11 +2478,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2390,6 +2507,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2397,6 +2516,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2404,6 +2524,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2416,21 +2537,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.ledger_accounts_update_endpoint = _Endpoint( + self.journal_entries_update_endpoint = _Endpoint( settings={ - 'response_type': (UpdateLedgerAccountResponse,), + 'response_type': (UpdateJournalEntryResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/ledger-accounts/{id}', - 'operation_id': 'ledger_accounts_update', + 'endpoint_path': '/accounting/journal-entries/{id}', + 'operation_id': 'journal_entries_update', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'id', - 'ledger_account', + 'journal_entry', 'consumer_id', 'app_id', 'service_id', @@ -2438,7 +2559,7 @@ def __init__(self, api_client=None): ], 'required': [ 'id', - 'ledger_account', + 'journal_entry', ], 'nullable': [ ], @@ -2455,8 +2576,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'ledger_account': - (LedgerAccount,), + 'journal_entry': + (JournalEntry,), 'consumer_id': (str,), 'app_id': @@ -2475,7 +2596,7 @@ def __init__(self, api_client=None): }, 'location_map': { 'id': 'path', - 'ledger_account': 'body', + 'journal_entry': 'body', 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', @@ -2494,27 +2615,27 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.payments_add_endpoint = _Endpoint( + self.ledger_accounts_add_endpoint = _Endpoint( settings={ - 'response_type': (CreatePaymentResponse,), + 'response_type': (CreateLedgerAccountResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/payments', - 'operation_id': 'payments_add', + 'endpoint_path': '/accounting/ledger-accounts', + 'operation_id': 'ledger_accounts_add', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'payment', + 'ledger_account', 'raw', 'consumer_id', 'app_id', 'service_id', ], 'required': [ - 'payment', + 'ledger_account', ], 'nullable': [ ], @@ -2529,8 +2650,8 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'payment': - (Payment,), + 'ledger_account': + (LedgerAccount,), 'raw': (bool,), 'consumer_id': @@ -2547,7 +2668,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', }, 'location_map': { - 'payment': 'body', + 'ledger_account': 'body', 'raw': 'query', 'consumer_id': 'header', 'app_id': 'header', @@ -2566,14 +2687,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.payments_all_endpoint = _Endpoint( + self.ledger_accounts_all_endpoint = _Endpoint( settings={ - 'response_type': (GetPaymentsResponse,), + 'response_type': (GetLedgerAccountsResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/payments', - 'operation_id': 'payments_all', + 'endpoint_path': '/accounting/ledger-accounts', + 'operation_id': 'ledger_accounts_all', 'http_method': 'GET', 'servers': None, }, @@ -2585,10 +2706,13 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2619,6 +2743,10 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2627,6 +2755,8 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2635,6 +2765,8 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2647,14 +2779,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.payments_delete_endpoint = _Endpoint( + self.ledger_accounts_delete_endpoint = _Endpoint( settings={ - 'response_type': (DeletePaymentResponse,), + 'response_type': (DeleteLedgerAccountResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/payments/{id}', - 'operation_id': 'payments_delete', + 'endpoint_path': '/accounting/ledger-accounts/{id}', + 'operation_id': 'ledger_accounts_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -2718,14 +2850,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.payments_one_endpoint = _Endpoint( + self.ledger_accounts_one_endpoint = _Endpoint( settings={ - 'response_type': (GetPaymentResponse,), + 'response_type': (GetLedgerAccountResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/payments/{id}', - 'operation_id': 'payments_one', + 'endpoint_path': '/accounting/ledger-accounts/{id}', + 'operation_id': 'ledger_accounts_one', 'http_method': 'GET', 'servers': None, }, @@ -2736,11 +2868,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2763,6 +2897,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2770,6 +2906,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2777,6 +2914,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2789,21 +2927,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.payments_update_endpoint = _Endpoint( + self.ledger_accounts_update_endpoint = _Endpoint( settings={ - 'response_type': (UpdatePaymentResponse,), + 'response_type': (UpdateLedgerAccountResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/payments/{id}', - 'operation_id': 'payments_update', + 'endpoint_path': '/accounting/ledger-accounts/{id}', + 'operation_id': 'ledger_accounts_update', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'id', - 'payment', + 'ledger_account', 'consumer_id', 'app_id', 'service_id', @@ -2811,7 +2949,7 @@ def __init__(self, api_client=None): ], 'required': [ 'id', - 'payment', + 'ledger_account', ], 'nullable': [ ], @@ -2828,8 +2966,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'payment': - (Payment,), + 'ledger_account': + (LedgerAccount,), 'consumer_id': (str,), 'app_id': @@ -2848,7 +2986,7 @@ def __init__(self, api_client=None): }, 'location_map': { 'id': 'path', - 'payment': 'body', + 'ledger_account': 'body', 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', @@ -2867,96 +3005,27 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.profit_and_loss_one_endpoint = _Endpoint( - settings={ - 'response_type': (GetProfitAndLossResponse,), - 'auth': [ - 'apiKey' - ], - 'endpoint_path': '/accounting/profit-and-loss', - 'operation_id': 'profit_and_loss_one', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'raw', - 'consumer_id', - 'app_id', - 'service_id', - 'filter', - ], - 'required': [], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'raw': - (bool,), - 'consumer_id': - (str,), - 'app_id': - (str,), - 'service_id': - (str,), - 'filter': - (ProfitAndLossFilter,), - }, - 'attribute_map': { - 'raw': 'raw', - 'consumer_id': 'x-apideck-consumer-id', - 'app_id': 'x-apideck-app-id', - 'service_id': 'x-apideck-service-id', - 'filter': 'filter', - }, - 'location_map': { - 'raw': 'query', - 'consumer_id': 'header', - 'app_id': 'header', - 'service_id': 'header', - 'filter': 'query', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.suppliers_add_endpoint = _Endpoint( + self.payments_add_endpoint = _Endpoint( settings={ - 'response_type': (CreateSupplierResponse,), + 'response_type': (CreatePaymentResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/suppliers', - 'operation_id': 'suppliers_add', + 'endpoint_path': '/accounting/payments', + 'operation_id': 'payments_add', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'supplier', + 'payment', 'raw', 'consumer_id', 'app_id', 'service_id', ], 'required': [ - 'supplier', + 'payment', ], 'nullable': [ ], @@ -2971,8 +3040,8 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'supplier': - (Supplier,), + 'payment': + (Payment,), 'raw': (bool,), 'consumer_id': @@ -2989,7 +3058,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', }, 'location_map': { - 'supplier': 'body', + 'payment': 'body', 'raw': 'query', 'consumer_id': 'header', 'app_id': 'header', @@ -3008,14 +3077,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.suppliers_all_endpoint = _Endpoint( + self.payments_all_endpoint = _Endpoint( settings={ - 'response_type': (GetSuppliersResponse,), + 'response_type': (GetPaymentsResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/suppliers', - 'operation_id': 'suppliers_all', + 'endpoint_path': '/accounting/payments', + 'operation_id': 'payments_all', 'http_method': 'GET', 'servers': None, }, @@ -3027,10 +3096,13 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -3061,6 +3133,10 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -3069,6 +3145,8 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -3077,6 +3155,8 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3089,14 +3169,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.suppliers_delete_endpoint = _Endpoint( + self.payments_delete_endpoint = _Endpoint( settings={ - 'response_type': (DeleteSupplierResponse,), + 'response_type': (DeletePaymentResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/suppliers/{id}', - 'operation_id': 'suppliers_delete', + 'endpoint_path': '/accounting/payments/{id}', + 'operation_id': 'payments_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -3160,14 +3240,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.suppliers_one_endpoint = _Endpoint( + self.payments_one_endpoint = _Endpoint( settings={ - 'response_type': (GetSupplierResponse,), + 'response_type': (GetPaymentResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/suppliers/{id}', - 'operation_id': 'suppliers_one', + 'endpoint_path': '/accounting/payments/{id}', + 'operation_id': 'payments_one', 'http_method': 'GET', 'servers': None, }, @@ -3178,11 +3258,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -3205,6 +3287,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -3212,6 +3296,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -3219,6 +3304,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3231,21 +3317,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.suppliers_update_endpoint = _Endpoint( + self.payments_update_endpoint = _Endpoint( settings={ - 'response_type': (UpdateSupplierResponse,), + 'response_type': (UpdatePaymentResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/suppliers/{id}', - 'operation_id': 'suppliers_update', + 'endpoint_path': '/accounting/payments/{id}', + 'operation_id': 'payments_update', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'id', - 'supplier', + 'payment', 'consumer_id', 'app_id', 'service_id', @@ -3253,7 +3339,7 @@ def __init__(self, api_client=None): ], 'required': [ 'id', - 'supplier', + 'payment', ], 'nullable': [ ], @@ -3270,8 +3356,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'supplier': - (Supplier,), + 'payment': + (Payment,), 'consumer_id': (str,), 'app_id': @@ -3290,7 +3376,7 @@ def __init__(self, api_client=None): }, 'location_map': { 'id': 'path', - 'supplier': 'body', + 'payment': 'body', 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', @@ -3309,27 +3395,107 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.tax_rates_add_endpoint = _Endpoint( + self.profit_and_loss_one_endpoint = _Endpoint( settings={ - 'response_type': (CreateTaxRateResponse,), + 'response_type': (GetProfitAndLossResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/tax-rates', - 'operation_id': 'tax_rates_add', + 'endpoint_path': '/accounting/profit-and-loss', + 'operation_id': 'profit_and_loss_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'filter', + 'pass_through', + 'fields', + ], + 'required': [], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'filter': + (ProfitAndLossFilter,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'filter': 'filter', + 'pass_through': 'pass_through', + 'fields': 'fields', + }, + 'location_map': { + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'filter': 'query', + 'pass_through': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.suppliers_add_endpoint = _Endpoint( + settings={ + 'response_type': (CreateSupplierResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/accounting/suppliers', + 'operation_id': 'suppliers_add', 'http_method': 'POST', 'servers': None, }, params_map={ 'all': [ - 'tax_rate', + 'supplier', 'raw', 'consumer_id', 'app_id', 'service_id', ], 'required': [ - 'tax_rate', + 'supplier', ], 'nullable': [ ], @@ -3344,8 +3510,8 @@ def __init__(self, api_client=None): 'allowed_values': { }, 'openapi_types': { - 'tax_rate': - (TaxRate,), + 'supplier': + (Supplier,), 'raw': (bool,), 'consumer_id': @@ -3362,7 +3528,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', }, 'location_map': { - 'tax_rate': 'body', + 'supplier': 'body', 'raw': 'query', 'consumer_id': 'header', 'app_id': 'header', @@ -3381,14 +3547,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.tax_rates_all_endpoint = _Endpoint( + self.suppliers_all_endpoint = _Endpoint( settings={ - 'response_type': (GetTaxRatesResponse,), + 'response_type': (GetSuppliersResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/tax-rates', - 'operation_id': 'tax_rates_all', + 'endpoint_path': '/accounting/suppliers', + 'operation_id': 'suppliers_all', 'http_method': 'GET', 'servers': None, }, @@ -3401,10 +3567,13 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -3436,7 +3605,11 @@ def __init__(self, api_client=None): 'limit': (int,), 'filter': - (TaxRatesFilter,), + (SuppliersFilter,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -3446,6 +3619,8 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -3455,6 +3630,8 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3467,14 +3644,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.tax_rates_delete_endpoint = _Endpoint( + self.suppliers_delete_endpoint = _Endpoint( settings={ - 'response_type': (DeleteTaxRateResponse,), + 'response_type': (DeleteSupplierResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/tax-rates/{id}', - 'operation_id': 'tax_rates_delete', + 'endpoint_path': '/accounting/suppliers/{id}', + 'operation_id': 'suppliers_delete', 'http_method': 'DELETE', 'servers': None, }, @@ -3538,14 +3715,14 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.tax_rates_one_endpoint = _Endpoint( + self.suppliers_one_endpoint = _Endpoint( settings={ - 'response_type': (GetTaxRateResponse,), + 'response_type': (GetSupplierResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/tax-rates/{id}', - 'operation_id': 'tax_rates_one', + 'endpoint_path': '/accounting/suppliers/{id}', + 'operation_id': 'suppliers_one', 'http_method': 'GET', 'servers': None, }, @@ -3556,11 +3733,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -3583,6 +3762,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -3590,6 +3771,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -3597,6 +3779,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3609,21 +3792,21 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.tax_rates_update_endpoint = _Endpoint( + self.suppliers_update_endpoint = _Endpoint( settings={ - 'response_type': (UpdateTaxRateResponse,), + 'response_type': (UpdateSupplierResponse,), 'auth': [ 'apiKey' ], - 'endpoint_path': '/accounting/tax-rates/{id}', - 'operation_id': 'tax_rates_update', + 'endpoint_path': '/accounting/suppliers/{id}', + 'operation_id': 'suppliers_update', 'http_method': 'PATCH', 'servers': None, }, params_map={ 'all': [ 'id', - 'tax_rate', + 'supplier', 'consumer_id', 'app_id', 'service_id', @@ -3631,7 +3814,7 @@ def __init__(self, api_client=None): ], 'required': [ 'id', - 'tax_rate', + 'supplier', ], 'nullable': [ ], @@ -3648,8 +3831,8 @@ def __init__(self, api_client=None): 'openapi_types': { 'id': (str,), - 'tax_rate': - (TaxRate,), + 'supplier': + (Supplier,), 'consumer_id': (str,), 'app_id': @@ -3668,7 +3851,7 @@ def __init__(self, api_client=None): }, 'location_map': { 'id': 'path', - 'tax_rate': 'body', + 'supplier': 'body', 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', @@ -3687,28 +3870,750 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.tax_rates_add_endpoint = _Endpoint( + settings={ + 'response_type': (CreateTaxRateResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/accounting/tax-rates', + 'operation_id': 'tax_rates_add', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'tax_rate', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + ], + 'required': [ + 'tax_rate', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'tax_rate': + (TaxRate,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + }, + 'attribute_map': { + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + }, + 'location_map': { + 'tax_rate': 'body', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.tax_rates_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetTaxRatesResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/accounting/tax-rates', + 'operation_id': 'tax_rates_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'filter', + 'pass_through', + 'fields', + ], + 'required': [], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'filter': + (TaxRatesFilter,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'filter': 'filter', + 'pass_through': 'pass_through', + 'fields': 'fields', + }, + 'location_map': { + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'filter': 'query', + 'pass_through': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.tax_rates_delete_endpoint = _Endpoint( + settings={ + 'response_type': (DeleteTaxRateResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/accounting/tax-rates/{id}', + 'operation_id': 'tax_rates_delete', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + ], + 'required': [ + 'id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + }, + 'attribute_map': { + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + }, + 'location_map': { + 'id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.tax_rates_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetTaxRateResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/accounting/tax-rates/{id}', + 'operation_id': 'tax_rates_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [ + 'id', + ], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.tax_rates_update_endpoint = _Endpoint( + settings={ + 'response_type': (UpdateTaxRateResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/accounting/tax-rates/{id}', + 'operation_id': 'tax_rates_update', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'tax_rate', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + ], + 'required': [ + 'id', + 'tax_rate', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'tax_rate': + (TaxRate,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + }, + 'attribute_map': { + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + }, + 'location_map': { + 'id': 'path', + 'tax_rate': 'body', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + + def balance_sheet_one( + self, + **kwargs + ): + """Get BalanceSheet # noqa: E501 + + Get BalanceSheet # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.balance_sheet_one(async_req=True) + >>> result = thread.get() + + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + filter (BalanceSheetFilter): Apply filters. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetBalanceSheetResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.balance_sheet_one_endpoint.call_with_http_info(**kwargs) + + def bills_add( + self, + bill, + **kwargs + ): + """Create Bill # noqa: E501 + + Create Bill # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bills_add(bill, async_req=True) + >>> result = thread.get() + + Args: + bill (Bill): + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + CreateBillResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['bill'] = \ + bill + return self.bills_add_endpoint.call_with_http_info(**kwargs) + + def bills_all( + self, + **kwargs + ): + """List Bills # noqa: E501 + + List Bills # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bills_all(async_req=True) + >>> result = thread.get() + + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + sort (BillsSort): Apply sorting. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetBillsResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.bills_all_endpoint.call_with_http_info(**kwargs) + + def bills_delete( + self, + id, + **kwargs + ): + """Delete Bill # noqa: E501 + + Delete Bill # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.bills_delete(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + DeleteBillResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + return self.bills_delete_endpoint.call_with_http_info(**kwargs) - def balance_sheet_one( + def bills_one( self, + id, **kwargs ): - """Get BalanceSheet # noqa: E501 + """Get Bill # noqa: E501 - Get BalanceSheet # noqa: E501 + Get Bill # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.balance_sheet_one(async_req=True) + >>> thread = api.bills_one(id, async_req=True) >>> result = thread.get() + Args: + id (str): ID of the record you are acting upon. Keyword Args: consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] - pass_through (Passthrough): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] - filter (BalanceSheetFilter): Apply filters. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3737,7 +4642,7 @@ def balance_sheet_one( async_req (bool): execute request asynchronously Returns: - GetBalanceSheetResponse + GetBillResponse If the method is called asynchronously, returns the request thread. """ @@ -3765,30 +4670,34 @@ def balance_sheet_one( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - return self.balance_sheet_one_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + return self.bills_one_endpoint.call_with_http_info(**kwargs) - def bills_add( + def bills_update( self, + id, bill, **kwargs ): - """Create Bill # noqa: E501 + """Update Bill # noqa: E501 - Create Bill # noqa: E501 + Update Bill # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bills_add(bill, async_req=True) + >>> thread = api.bills_update(id, bill, async_req=True) >>> result = thread.get() Args: + id (str): ID of the record you are acting upon. bill (Bill): Keyword Args: - raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3817,7 +4726,7 @@ def bills_add( async_req (bool): execute request asynchronously Returns: - CreateBillResponse + UpdateBillResponse If the method is called asynchronously, returns the request thread. """ @@ -3845,21 +4754,23 @@ def bills_add( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id kwargs['bill'] = \ bill - return self.bills_add_endpoint.call_with_http_info(**kwargs) + return self.bills_update_endpoint.call_with_http_info(**kwargs) - def bills_all( + def company_info_one( self, **kwargs ): - """List Bills # noqa: E501 + """Get company info # noqa: E501 - List Bills # noqa: E501 + Get company info # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bills_all(async_req=True) + >>> thread = api.company_info_one(async_req=True) >>> result = thread.get() @@ -3868,8 +4779,7 @@ def bills_all( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] - cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3898,7 +4808,7 @@ def bills_all( async_req (bool): execute request asynchronously Returns: - GetBillsResponse + GetCompanyInfoResponse If the method is called asynchronously, returns the request thread. """ @@ -3926,30 +4836,113 @@ def bills_all( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - return self.bills_all_endpoint.call_with_http_info(**kwargs) + return self.company_info_one_endpoint.call_with_http_info(**kwargs) - def bills_delete( + def credit_notes_add( self, - id, + credit_note, **kwargs ): - """Delete Bill # noqa: E501 + """Create Credit Note # noqa: E501 - Delete Bill # noqa: E501 + Create Credit Note # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bills_delete(id, async_req=True) + >>> thread = api.credit_notes_add(credit_note, async_req=True) >>> result = thread.get() Args: - id (str): ID of the record you are acting upon. + credit_note (CreditNote): Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + CreateCreditNoteResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['credit_note'] = \ + credit_note + return self.credit_notes_add_endpoint.call_with_http_info(**kwargs) + + def credit_notes_all( + self, + **kwargs + ): + """List Credit Notes # noqa: E501 + + List Credit Notes # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.credit_notes_all(async_req=True) + >>> result = thread.get() + + + Keyword Args: raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3978,7 +4971,7 @@ def bills_delete( async_req (bool): execute request asynchronously Returns: - DeleteBillResponse + GetCreditNotesResponse If the method is called asynchronously, returns the request thread. """ @@ -4006,22 +4999,20 @@ def bills_delete( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['id'] = \ - id - return self.bills_delete_endpoint.call_with_http_info(**kwargs) + return self.credit_notes_all_endpoint.call_with_http_info(**kwargs) - def bills_one( + def credit_notes_delete( self, id, **kwargs ): - """Get Bill # noqa: E501 + """Delete Credit Note # noqa: E501 - Get Bill # noqa: E501 + Delete Credit Note # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bills_one(id, async_req=True) + >>> thread = api.credit_notes_delete(id, async_req=True) >>> result = thread.get() Args: @@ -4060,7 +5051,7 @@ def bills_one( async_req (bool): execute request asynchronously Returns: - GetBillResponse + DeleteCreditNoteResponse If the method is called asynchronously, returns the request thread. """ @@ -4090,32 +5081,31 @@ def bills_one( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.bills_one_endpoint.call_with_http_info(**kwargs) + return self.credit_notes_delete_endpoint.call_with_http_info(**kwargs) - def bills_update( + def credit_notes_one( self, id, - bill, **kwargs ): - """Update Bill # noqa: E501 + """Get Credit Note # noqa: E501 - Update Bill # noqa: E501 + Get Credit Note # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.bills_update(id, bill, async_req=True) + >>> thread = api.credit_notes_one(id, async_req=True) >>> result = thread.get() Args: id (str): ID of the record you are acting upon. - bill (Bill): Keyword Args: consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4144,7 +5134,7 @@ def bills_update( async_req (bool): execute request asynchronously Returns: - UpdateBillResponse + GetCreditNoteResponse If the method is called asynchronously, returns the request thread. """ @@ -4174,29 +5164,32 @@ def bills_update( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - kwargs['bill'] = \ - bill - return self.bills_update_endpoint.call_with_http_info(**kwargs) + return self.credit_notes_one_endpoint.call_with_http_info(**kwargs) - def company_info_one( + def credit_notes_update( self, + id, + credit_note, **kwargs ): - """Get company info # noqa: E501 + """Update Credit Note # noqa: E501 - Get company info # noqa: E501 + Update Credit Note # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.company_info_one(async_req=True) + >>> thread = api.credit_notes_update(id, credit_note, async_req=True) >>> result = thread.get() + Args: + id (str): ID of the record you are acting upon. + credit_note (CreditNote): Keyword Args: - raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4225,7 +5218,7 @@ def company_info_one( async_req (bool): execute request asynchronously Returns: - GetCompanyInfoResponse + UpdateCreditNoteResponse If the method is called asynchronously, returns the request thread. """ @@ -4253,24 +5246,28 @@ def company_info_one( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - return self.company_info_one_endpoint.call_with_http_info(**kwargs) + kwargs['id'] = \ + id + kwargs['credit_note'] = \ + credit_note + return self.credit_notes_update_endpoint.call_with_http_info(**kwargs) - def credit_notes_add( + def customers_add( self, - credit_note, + accounting_customer, **kwargs ): - """Create Credit Note # noqa: E501 + """Create Customer # noqa: E501 - Create Credit Note # noqa: E501 + Create Customer # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.credit_notes_add(credit_note, async_req=True) + >>> thread = api.customers_add(accounting_customer, async_req=True) >>> result = thread.get() Args: - credit_note (CreditNote): + accounting_customer (AccountingCustomer): Keyword Args: raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False @@ -4305,7 +5302,7 @@ def credit_notes_add( async_req (bool): execute request asynchronously Returns: - CreateCreditNoteResponse + CreateCustomerResponse If the method is called asynchronously, returns the request thread. """ @@ -4332,22 +5329,22 @@ def credit_notes_add( ) kwargs['_content_type'] = kwargs.get( '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['credit_note'] = \ - credit_note - return self.credit_notes_add_endpoint.call_with_http_info(**kwargs) + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['accounting_customer'] = \ + accounting_customer + return self.customers_add_endpoint.call_with_http_info(**kwargs) - def credit_notes_all( + def customers_all( self, **kwargs ): - """List Credit Notes # noqa: E501 + """List Customers # noqa: E501 - List Credit Notes # noqa: E501 + List Customers # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.credit_notes_all(async_req=True) + >>> thread = api.customers_all(async_req=True) >>> result = thread.get() @@ -4357,7 +5354,10 @@ def credit_notes_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + filter (CustomersFilter): Apply filters. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4386,7 +5386,7 @@ def credit_notes_all( async_req (bool): execute request asynchronously Returns: - GetCreditNotesResponse + GetCustomersResponse If the method is called asynchronously, returns the request thread. """ @@ -4414,20 +5414,20 @@ def credit_notes_all( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - return self.credit_notes_all_endpoint.call_with_http_info(**kwargs) + return self.customers_all_endpoint.call_with_http_info(**kwargs) - def credit_notes_delete( + def customers_delete( self, id, **kwargs ): - """Delete Credit Note # noqa: E501 + """Delete Customer # noqa: E501 - Delete Credit Note # noqa: E501 + Delete Customer # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.credit_notes_delete(id, async_req=True) + >>> thread = api.customers_delete(id, async_req=True) >>> result = thread.get() Args: @@ -4466,7 +5466,7 @@ def credit_notes_delete( async_req (bool): execute request asynchronously Returns: - DeleteCreditNoteResponse + DeleteCustomerResponse If the method is called asynchronously, returns the request thread. """ @@ -4496,20 +5496,20 @@ def credit_notes_delete( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.credit_notes_delete_endpoint.call_with_http_info(**kwargs) + return self.customers_delete_endpoint.call_with_http_info(**kwargs) - def credit_notes_one( + def customers_one( self, id, **kwargs ): - """Get Credit Note # noqa: E501 + """Get Customer # noqa: E501 - Get Credit Note # noqa: E501 + Get Customer # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.credit_notes_one(id, async_req=True) + >>> thread = api.customers_one(id, async_req=True) >>> result = thread.get() Args: @@ -4520,6 +5520,7 @@ def credit_notes_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4548,7 +5549,7 @@ def credit_notes_one( async_req (bool): execute request asynchronously Returns: - GetCreditNoteResponse + GetCustomerResponse If the method is called asynchronously, returns the request thread. """ @@ -4578,26 +5579,26 @@ def credit_notes_one( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.credit_notes_one_endpoint.call_with_http_info(**kwargs) + return self.customers_one_endpoint.call_with_http_info(**kwargs) - def credit_notes_update( + def customers_update( self, id, - credit_note, + accounting_customer, **kwargs ): - """Update Credit Note # noqa: E501 + """Update Customer # noqa: E501 - Update Credit Note # noqa: E501 + Update Customer # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.credit_notes_update(id, credit_note, async_req=True) + >>> thread = api.customers_update(id, accounting_customer, async_req=True) >>> result = thread.get() Args: id (str): ID of the record you are acting upon. - credit_note (CreditNote): + accounting_customer (AccountingCustomer): Keyword Args: consumer_id (str): ID of the consumer which you want to get or push data from. [optional] @@ -4632,7 +5633,7 @@ def credit_notes_update( async_req (bool): execute request asynchronously Returns: - UpdateCreditNoteResponse + UpdateCustomerResponse If the method is called asynchronously, returns the request thread. """ @@ -4662,26 +5663,26 @@ def credit_notes_update( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - kwargs['credit_note'] = \ - credit_note - return self.credit_notes_update_endpoint.call_with_http_info(**kwargs) + kwargs['accounting_customer'] = \ + accounting_customer + return self.customers_update_endpoint.call_with_http_info(**kwargs) - def customers_add( + def invoice_items_add( self, - accounting_customer, + invoice_item, **kwargs ): - """Create Customer # noqa: E501 + """Create Invoice Item # noqa: E501 - Create Customer # noqa: E501 + Create Invoice Item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.customers_add(accounting_customer, async_req=True) + >>> thread = api.invoice_items_add(invoice_item, async_req=True) >>> result = thread.get() Args: - accounting_customer (AccountingCustomer): + invoice_item (InvoiceItem): Keyword Args: raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False @@ -4716,7 +5717,7 @@ def customers_add( async_req (bool): execute request asynchronously Returns: - CreateCustomerResponse + CreateInvoiceItemResponse If the method is called asynchronously, returns the request thread. """ @@ -4744,21 +5745,21 @@ def customers_add( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['accounting_customer'] = \ - accounting_customer - return self.customers_add_endpoint.call_with_http_info(**kwargs) + kwargs['invoice_item'] = \ + invoice_item + return self.invoice_items_add_endpoint.call_with_http_info(**kwargs) - def customers_all( + def invoice_items_all( self, **kwargs ): - """List Customers # noqa: E501 + """List Invoice Items # noqa: E501 - List Customers # noqa: E501 + List Invoice Items # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.customers_all(async_req=True) + >>> thread = api.invoice_items_all(async_req=True) >>> result = thread.get() @@ -4768,8 +5769,10 @@ def customers_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 - filter (CustomersFilter): Apply filters. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + filter (InvoiceItemsFilter): Apply filters. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4798,7 +5801,7 @@ def customers_all( async_req (bool): execute request asynchronously Returns: - GetCustomersResponse + GetInvoiceItemsResponse If the method is called asynchronously, returns the request thread. """ @@ -4826,20 +5829,20 @@ def customers_all( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - return self.customers_all_endpoint.call_with_http_info(**kwargs) + return self.invoice_items_all_endpoint.call_with_http_info(**kwargs) - def customers_delete( + def invoice_items_delete( self, id, **kwargs ): - """Delete Customer # noqa: E501 + """Delete Invoice Item # noqa: E501 - Delete Customer # noqa: E501 + Delete Invoice Item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.customers_delete(id, async_req=True) + >>> thread = api.invoice_items_delete(id, async_req=True) >>> result = thread.get() Args: @@ -4878,7 +5881,7 @@ def customers_delete( async_req (bool): execute request asynchronously Returns: - DeleteCustomerResponse + DeleteTaxRateResponse If the method is called asynchronously, returns the request thread. """ @@ -4908,20 +5911,20 @@ def customers_delete( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.customers_delete_endpoint.call_with_http_info(**kwargs) + return self.invoice_items_delete_endpoint.call_with_http_info(**kwargs) - def customers_one( + def invoice_items_one( self, id, **kwargs ): - """Get Customer # noqa: E501 + """Get Invoice Item # noqa: E501 - Get Customer # noqa: E501 + Get Invoice Item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.customers_one(id, async_req=True) + >>> thread = api.invoice_items_one(id, async_req=True) >>> result = thread.get() Args: @@ -4932,6 +5935,7 @@ def customers_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4960,7 +5964,7 @@ def customers_one( async_req (bool): execute request asynchronously Returns: - GetCustomerResponse + GetInvoiceItemResponse If the method is called asynchronously, returns the request thread. """ @@ -4990,26 +5994,26 @@ def customers_one( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.customers_one_endpoint.call_with_http_info(**kwargs) + return self.invoice_items_one_endpoint.call_with_http_info(**kwargs) - def customers_update( + def invoice_items_update( self, id, - accounting_customer, + invoice_item, **kwargs ): - """Update Customer # noqa: E501 + """Update Invoice Item # noqa: E501 - Update Customer # noqa: E501 + Update Invoice Item # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.customers_update(id, accounting_customer, async_req=True) + >>> thread = api.invoice_items_update(id, invoice_item, async_req=True) >>> result = thread.get() Args: id (str): ID of the record you are acting upon. - accounting_customer (AccountingCustomer): + invoice_item (InvoiceItem): Keyword Args: consumer_id (str): ID of the consumer which you want to get or push data from. [optional] @@ -5044,7 +6048,7 @@ def customers_update( async_req (bool): execute request asynchronously Returns: - UpdateCustomerResponse + UpdateInvoiceItemsResponse If the method is called asynchronously, returns the request thread. """ @@ -5074,26 +6078,26 @@ def customers_update( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - kwargs['accounting_customer'] = \ - accounting_customer - return self.customers_update_endpoint.call_with_http_info(**kwargs) + kwargs['invoice_item'] = \ + invoice_item + return self.invoice_items_update_endpoint.call_with_http_info(**kwargs) - def invoice_items_add( + def invoices_add( self, - invoice_item, + invoice, **kwargs ): - """Create Invoice Item # noqa: E501 + """Create Invoice # noqa: E501 - Create Invoice Item # noqa: E501 + Create Invoice # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoice_items_add(invoice_item, async_req=True) + >>> thread = api.invoices_add(invoice, async_req=True) >>> result = thread.get() Args: - invoice_item (InvoiceItem): + invoice (Invoice): Keyword Args: raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False @@ -5128,7 +6132,7 @@ def invoice_items_add( async_req (bool): execute request asynchronously Returns: - CreateInvoiceItemResponse + CreateInvoiceResponse If the method is called asynchronously, returns the request thread. """ @@ -5156,21 +6160,21 @@ def invoice_items_add( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['invoice_item'] = \ - invoice_item - return self.invoice_items_add_endpoint.call_with_http_info(**kwargs) + kwargs['invoice'] = \ + invoice + return self.invoices_add_endpoint.call_with_http_info(**kwargs) - def invoice_items_all( + def invoices_all( self, **kwargs ): - """List Invoice Items # noqa: E501 + """List Invoices # noqa: E501 - List Invoice Items # noqa: E501 + List Invoices # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoice_items_all(async_req=True) + >>> thread = api.invoices_all(async_req=True) >>> result = thread.get() @@ -5180,8 +6184,10 @@ def invoice_items_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 - filter (InvoiceItemsFilter): Apply filters. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + sort (InvoicesSort): Apply sorting. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5210,7 +6216,7 @@ def invoice_items_all( async_req (bool): execute request asynchronously Returns: - GetInvoiceItemsResponse + GetInvoicesResponse If the method is called asynchronously, returns the request thread. """ @@ -5238,20 +6244,20 @@ def invoice_items_all( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - return self.invoice_items_all_endpoint.call_with_http_info(**kwargs) + return self.invoices_all_endpoint.call_with_http_info(**kwargs) - def invoice_items_delete( + def invoices_delete( self, id, **kwargs ): - """Delete Invoice Item # noqa: E501 + """Delete Invoice # noqa: E501 - Delete Invoice Item # noqa: E501 + Delete Invoice # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoice_items_delete(id, async_req=True) + >>> thread = api.invoices_delete(id, async_req=True) >>> result = thread.get() Args: @@ -5290,7 +6296,7 @@ def invoice_items_delete( async_req (bool): execute request asynchronously Returns: - DeleteTaxRateResponse + DeleteInvoiceResponse If the method is called asynchronously, returns the request thread. """ @@ -5320,20 +6326,20 @@ def invoice_items_delete( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.invoice_items_delete_endpoint.call_with_http_info(**kwargs) + return self.invoices_delete_endpoint.call_with_http_info(**kwargs) - def invoice_items_one( + def invoices_one( self, id, **kwargs ): - """Get Invoice Item # noqa: E501 + """Get Invoice # noqa: E501 - Get Invoice Item # noqa: E501 + Get Invoice # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoice_items_one(id, async_req=True) + >>> thread = api.invoices_one(id, async_req=True) >>> result = thread.get() Args: @@ -5344,6 +6350,7 @@ def invoice_items_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5372,7 +6379,7 @@ def invoice_items_one( async_req (bool): execute request asynchronously Returns: - GetInvoiceItemResponse + GetInvoiceResponse If the method is called asynchronously, returns the request thread. """ @@ -5402,26 +6409,26 @@ def invoice_items_one( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.invoice_items_one_endpoint.call_with_http_info(**kwargs) + return self.invoices_one_endpoint.call_with_http_info(**kwargs) - def invoice_items_update( + def invoices_update( self, id, - invoice_item, + invoice, **kwargs ): - """Update Invoice Item # noqa: E501 + """Update Invoice # noqa: E501 - Update Invoice Item # noqa: E501 + Update Invoice # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoice_items_update(id, invoice_item, async_req=True) + >>> thread = api.invoices_update(id, invoice, async_req=True) >>> result = thread.get() Args: id (str): ID of the record you are acting upon. - invoice_item (InvoiceItem): + invoice (Invoice): Keyword Args: consumer_id (str): ID of the consumer which you want to get or push data from. [optional] @@ -5456,7 +6463,7 @@ def invoice_items_update( async_req (bool): execute request asynchronously Returns: - UpdateInvoiceItemsResponse + UpdateInvoiceResponse If the method is called asynchronously, returns the request thread. """ @@ -5486,26 +6493,26 @@ def invoice_items_update( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - kwargs['invoice_item'] = \ - invoice_item - return self.invoice_items_update_endpoint.call_with_http_info(**kwargs) + kwargs['invoice'] = \ + invoice + return self.invoices_update_endpoint.call_with_http_info(**kwargs) - def invoices_add( + def journal_entries_add( self, - invoice, + journal_entry, **kwargs ): - """Create Invoice # noqa: E501 + """Create Journal Entry # noqa: E501 - Create Invoice # noqa: E501 + Create Journal Entry # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoices_add(invoice, async_req=True) + >>> thread = api.journal_entries_add(journal_entry, async_req=True) >>> result = thread.get() Args: - invoice (Invoice): + journal_entry (JournalEntry): Keyword Args: raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False @@ -5540,7 +6547,7 @@ def invoices_add( async_req (bool): execute request asynchronously Returns: - CreateInvoiceResponse + CreateJournalEntryResponse If the method is called asynchronously, returns the request thread. """ @@ -5568,21 +6575,21 @@ def invoices_add( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['invoice'] = \ - invoice - return self.invoices_add_endpoint.call_with_http_info(**kwargs) + kwargs['journal_entry'] = \ + journal_entry + return self.journal_entries_add_endpoint.call_with_http_info(**kwargs) - def invoices_all( + def journal_entries_all( self, **kwargs ): - """List Invoices # noqa: E501 + """List Journal Entries # noqa: E501 - List Invoices # noqa: E501 + List Journal Entries # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoices_all(async_req=True) + >>> thread = api.journal_entries_all(async_req=True) >>> result = thread.get() @@ -5592,8 +6599,9 @@ def invoices_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 - sort (InvoicesSort): Apply sorting. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5622,7 +6630,7 @@ def invoices_all( async_req (bool): execute request asynchronously Returns: - GetInvoicesResponse + GetJournalEntriesResponse If the method is called asynchronously, returns the request thread. """ @@ -5650,20 +6658,20 @@ def invoices_all( kwargs['_content_type'] = kwargs.get( '_content_type') kwargs['_host_index'] = kwargs.get('_host_index') - return self.invoices_all_endpoint.call_with_http_info(**kwargs) + return self.journal_entries_all_endpoint.call_with_http_info(**kwargs) - def invoices_delete( + def journal_entries_delete( self, id, **kwargs ): - """Delete Invoice # noqa: E501 + """Delete Journal Entry # noqa: E501 - Delete Invoice # noqa: E501 + Delete Journal Entry # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoices_delete(id, async_req=True) + >>> thread = api.journal_entries_delete(id, async_req=True) >>> result = thread.get() Args: @@ -5702,7 +6710,7 @@ def invoices_delete( async_req (bool): execute request asynchronously Returns: - DeleteInvoiceResponse + DeleteJournalEntryResponse If the method is called asynchronously, returns the request thread. """ @@ -5732,20 +6740,20 @@ def invoices_delete( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.invoices_delete_endpoint.call_with_http_info(**kwargs) + return self.journal_entries_delete_endpoint.call_with_http_info(**kwargs) - def invoices_one( + def journal_entries_one( self, id, **kwargs ): - """Get Invoice # noqa: E501 + """Get Journal Entry # noqa: E501 - Get Invoice # noqa: E501 + Get Journal Entry # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoices_one(id, async_req=True) + >>> thread = api.journal_entries_one(id, async_req=True) >>> result = thread.get() Args: @@ -5756,6 +6764,7 @@ def invoices_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5784,7 +6793,7 @@ def invoices_one( async_req (bool): execute request asynchronously Returns: - GetInvoiceResponse + GetJournalEntryResponse If the method is called asynchronously, returns the request thread. """ @@ -5814,26 +6823,26 @@ def invoices_one( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - return self.invoices_one_endpoint.call_with_http_info(**kwargs) + return self.journal_entries_one_endpoint.call_with_http_info(**kwargs) - def invoices_update( + def journal_entries_update( self, id, - invoice, + journal_entry, **kwargs ): - """Update Invoice # noqa: E501 + """Update Journal Entry # noqa: E501 - Update Invoice # noqa: E501 + Update Journal Entry # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.invoices_update(id, invoice, async_req=True) + >>> thread = api.journal_entries_update(id, journal_entry, async_req=True) >>> result = thread.get() Args: id (str): ID of the record you are acting upon. - invoice (Invoice): + journal_entry (JournalEntry): Keyword Args: consumer_id (str): ID of the consumer which you want to get or push data from. [optional] @@ -5868,7 +6877,7 @@ def invoices_update( async_req (bool): execute request asynchronously Returns: - UpdateInvoiceResponse + UpdateJournalEntryResponse If the method is called asynchronously, returns the request thread. """ @@ -5898,9 +6907,9 @@ def invoices_update( kwargs['_host_index'] = kwargs.get('_host_index') kwargs['id'] = \ id - kwargs['invoice'] = \ - invoice - return self.invoices_update_endpoint.call_with_http_info(**kwargs) + kwargs['journal_entry'] = \ + journal_entry + return self.journal_entries_update_endpoint.call_with_http_info(**kwargs) def ledger_accounts_add( self, @@ -6004,7 +7013,9 @@ def ledger_accounts_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6167,6 +7178,7 @@ def ledger_accounts_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6415,7 +7427,9 @@ def payments_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6578,6 +7592,7 @@ def payments_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6744,6 +7759,8 @@ def profit_and_loss_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] filter (ProfitAndLossFilter): Apply filters. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6904,7 +7921,10 @@ def suppliers_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + filter (SuppliersFilter): Apply filters. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7067,6 +8087,7 @@ def suppliers_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7315,8 +8336,10 @@ def tax_rates_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (TaxRatesFilter): Apply filters. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7479,6 +8502,7 @@ def tax_rates_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/ats_api.py b/src/apideck/api/ats_api.py index 98d9452d2..31571b57f 100644 --- a/src/apideck/api/ats_api.py +++ b/src/apideck/api/ats_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -139,10 +139,12 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -175,6 +177,8 @@ def __init__(self, api_client=None): (int,), 'filter': (JobsFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -184,6 +188,7 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -193,6 +198,7 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -223,11 +229,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -250,6 +258,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -257,6 +267,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -264,6 +275,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -295,10 +307,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -329,6 +343,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -337,6 +353,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -345,6 +362,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -375,11 +393,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -402,6 +422,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -409,6 +431,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -416,6 +439,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -531,8 +555,9 @@ def applicants_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (JobsFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -613,6 +638,7 @@ def applicants_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -693,7 +719,8 @@ def jobs_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -774,6 +801,7 @@ def jobs_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/connector_api.py b/src/apideck/api/connector_api.py index 4e9097c0a..c6228edcd 100644 --- a/src/apideck/api/connector_api.py +++ b/src/apideck/api/connector_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -741,7 +741,7 @@ def apis_all( Keyword Args: app_id (str): The ID of your Unify application. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (ApisFilter): Apply filters. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -1064,7 +1064,7 @@ def connectors_all( Keyword Args: app_id (str): The ID of your Unify application. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (ConnectorsFilter): Apply filters. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. diff --git a/src/apideck/api/crm_api.py b/src/apideck/api/crm_api.py index 748a4832b..ae8a360df 100644 --- a/src/apideck/api/crm_api.py +++ b/src/apideck/api/crm_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -21,6 +21,7 @@ none_type, validate_and_convert_types ) +from apideck.model.activities_filter import ActivitiesFilter from apideck.model.activity import Activity from apideck.model.bad_request_response import BadRequestResponse from apideck.model.companies_filter import CompaniesFilter @@ -187,10 +188,13 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'filter', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -221,6 +225,10 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'filter': + (ActivitiesFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -229,6 +237,8 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -237,6 +247,8 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -338,11 +350,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -365,6 +379,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -372,6 +388,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -379,6 +396,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -562,10 +580,12 @@ def __init__(self, api_client=None): 'limit', 'filter', 'sort', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -600,6 +620,8 @@ def __init__(self, api_client=None): (CompaniesFilter,), 'sort': (CompaniesSort,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -610,6 +632,7 @@ def __init__(self, api_client=None): 'limit': 'limit', 'filter': 'filter', 'sort': 'sort', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -620,6 +643,7 @@ def __init__(self, api_client=None): 'limit': 'query', 'filter': 'query', 'sort': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -721,11 +745,13 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -748,6 +774,8 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -755,6 +783,7 @@ def __init__(self, api_client=None): 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -762,6 +791,7 @@ def __init__(self, api_client=None): 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -945,10 +975,12 @@ def __init__(self, api_client=None): 'limit', 'filter', 'sort', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -983,6 +1015,8 @@ def __init__(self, api_client=None): (ContactsFilter,), 'sort': (ContactsSort,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -993,6 +1027,7 @@ def __init__(self, api_client=None): 'limit': 'limit', 'filter': 'filter', 'sort': 'sort', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1003,6 +1038,7 @@ def __init__(self, api_client=None): 'limit': 'query', 'filter': 'query', 'sort': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1104,11 +1140,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1131,6 +1169,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1138,6 +1178,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1145,6 +1186,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1328,10 +1370,12 @@ def __init__(self, api_client=None): 'limit', 'filter', 'sort', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1366,6 +1410,8 @@ def __init__(self, api_client=None): (LeadsFilter,), 'sort': (LeadsSort,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1376,6 +1422,7 @@ def __init__(self, api_client=None): 'limit': 'limit', 'filter': 'filter', 'sort': 'sort', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1386,6 +1433,7 @@ def __init__(self, api_client=None): 'limit': 'query', 'filter': 'query', 'sort': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1487,11 +1535,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1514,6 +1564,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1521,6 +1573,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1528,6 +1581,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1709,10 +1763,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1743,6 +1799,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1751,6 +1809,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1759,6 +1818,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1860,11 +1920,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1887,6 +1949,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1894,6 +1958,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1901,6 +1966,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2084,10 +2150,12 @@ def __init__(self, api_client=None): 'limit', 'filter', 'sort', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2122,6 +2190,8 @@ def __init__(self, api_client=None): (OpportunitiesFilter,), 'sort': (OpportunitiesSort,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2132,6 +2202,7 @@ def __init__(self, api_client=None): 'limit': 'limit', 'filter': 'filter', 'sort': 'sort', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2142,6 +2213,7 @@ def __init__(self, api_client=None): 'limit': 'query', 'filter': 'query', 'sort': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2243,11 +2315,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2270,6 +2344,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2277,6 +2353,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2284,6 +2361,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2465,10 +2543,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2499,6 +2579,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2507,6 +2589,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2515,6 +2598,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2616,11 +2700,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2643,6 +2729,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2650,6 +2738,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2657,6 +2746,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2838,10 +2928,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2872,6 +2964,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2880,6 +2974,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2888,6 +2983,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2989,11 +3085,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -3016,6 +3114,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -3023,6 +3123,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -3030,6 +3131,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3223,7 +3325,9 @@ def activities_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + filter (ActivitiesFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3386,6 +3490,7 @@ def activities_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3634,9 +3739,10 @@ def companies_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (CompaniesFilter): Apply filters. [optional] sort (CompaniesSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3799,6 +3905,7 @@ def companies_one( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4047,9 +4154,10 @@ def contacts_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (ContactsFilter): Apply filters. [optional] sort (ContactsSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4212,6 +4320,7 @@ def contacts_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4460,9 +4569,10 @@ def leads_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (LeadsFilter): Apply filters. [optional] sort (LeadsSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4625,6 +4735,7 @@ def leads_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4873,7 +4984,8 @@ def notes_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5036,6 +5148,7 @@ def notes_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5284,9 +5397,10 @@ def opportunities_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (OpportunitiesFilter): Apply filters. [optional] sort (OpportunitiesSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5449,6 +5563,7 @@ def opportunities_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5697,7 +5812,8 @@ def pipelines_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5860,6 +5976,7 @@ def pipelines_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6108,7 +6225,8 @@ def users_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6271,6 +6389,7 @@ def users_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/customer_support_api.py b/src/apideck/api/customer_support_api.py index 584e20f54..2e88ab97f 100644 --- a/src/apideck/api/customer_support_api.py +++ b/src/apideck/api/customer_support_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -137,10 +137,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -171,6 +173,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -179,6 +183,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -187,6 +192,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -288,11 +294,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -315,6 +323,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -322,6 +332,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -329,6 +340,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -522,7 +534,8 @@ def customers_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -685,6 +698,7 @@ def customers_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/ecommerce_api.py b/src/apideck/api/ecommerce_api.py new file mode 100644 index 000000000..b7a60d614 --- /dev/null +++ b/src/apideck/api/ecommerce_api.py @@ -0,0 +1,1193 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.api_client import ApiClient, Endpoint as _Endpoint +from apideck.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.ecommerce_customers_filter import EcommerceCustomersFilter +from apideck.model.ecommerce_orders_filter import EcommerceOrdersFilter +from apideck.model.get_ecommerce_customer_response import GetEcommerceCustomerResponse +from apideck.model.get_ecommerce_customers_response import GetEcommerceCustomersResponse +from apideck.model.get_ecommerce_order_response import GetEcommerceOrderResponse +from apideck.model.get_ecommerce_orders_response import GetEcommerceOrdersResponse +from apideck.model.get_product_response import GetProductResponse +from apideck.model.get_products_response import GetProductsResponse +from apideck.model.get_store_response import GetStoreResponse +from apideck.model.not_found_response import NotFoundResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unprocessable_response import UnprocessableResponse + + +class EcommerceApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.customers_all2_endpoint = _Endpoint( + settings={ + 'response_type': (GetEcommerceCustomersResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/ecommerce/customers', + 'operation_id': 'customers_all2', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'filter', + 'fields', + ], + 'required': [], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'filter': + (EcommerceCustomersFilter,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'filter': 'filter', + 'fields': 'fields', + }, + 'location_map': { + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'filter': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.customers_one2_endpoint = _Endpoint( + settings={ + 'response_type': (GetEcommerceCustomerResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/ecommerce/customers/{id}', + 'operation_id': 'customers_one2', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [ + 'id', + ], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.orders_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetEcommerceOrdersResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/ecommerce/orders', + 'operation_id': 'orders_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'filter', + 'fields', + ], + 'required': [], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'filter': + (EcommerceOrdersFilter,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'filter': 'filter', + 'fields': 'fields', + }, + 'location_map': { + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'filter': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.orders_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetEcommerceOrderResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/ecommerce/orders/{id}', + 'operation_id': 'orders_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [ + 'id', + ], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.products_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetProductsResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/ecommerce/products', + 'operation_id': 'products_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'fields', + ], + 'required': [], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'fields': 'fields', + }, + 'location_map': { + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.products_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetProductResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/ecommerce/products/{id}', + 'operation_id': 'products_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [ + 'id', + ], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.stores_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetStoreResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/ecommerce/store', + 'operation_id': 'stores_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + + def customers_all2( + self, + **kwargs + ): + """List Customers # noqa: E501 + + List Customers # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.customers_all2(async_req=True) + >>> result = thread.get() + + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + filter (EcommerceCustomersFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetEcommerceCustomersResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.customers_all2_endpoint.call_with_http_info(**kwargs) + + def customers_one2( + self, + id, + **kwargs + ): + """Get Customer # noqa: E501 + + Get Customer # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.customers_one2(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetEcommerceCustomerResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + return self.customers_one2_endpoint.call_with_http_info(**kwargs) + + def orders_all( + self, + **kwargs + ): + """List Orders # noqa: E501 + + List Orders # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.orders_all(async_req=True) + >>> result = thread.get() + + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + filter (EcommerceOrdersFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetEcommerceOrdersResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.orders_all_endpoint.call_with_http_info(**kwargs) + + def orders_one( + self, + id, + **kwargs + ): + """Get Order # noqa: E501 + + Get Order # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.orders_one(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetEcommerceOrderResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + return self.orders_one_endpoint.call_with_http_info(**kwargs) + + def products_all( + self, + **kwargs + ): + """List Products # noqa: E501 + + List Products # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.products_all(async_req=True) + >>> result = thread.get() + + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetProductsResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.products_all_endpoint.call_with_http_info(**kwargs) + + def products_one( + self, + id, + **kwargs + ): + """Get Product # noqa: E501 + + Get Product # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.products_one(id, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetProductResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + return self.products_one_endpoint.call_with_http_info(**kwargs) + + def stores_one( + self, + **kwargs + ): + """Get Store # noqa: E501 + + Get Store # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.stores_one(async_req=True) + >>> result = thread.get() + + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetStoreResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.stores_one_endpoint.call_with_http_info(**kwargs) + diff --git a/src/apideck/api/file_storage_api.py b/src/apideck/api/file_storage_api.py index 26577baa2..59580b7fc 100644 --- a/src/apideck/api/file_storage_api.py +++ b/src/apideck/api/file_storage_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -54,6 +54,7 @@ from apideck.model.get_shared_links_response import GetSharedLinksResponse from apideck.model.get_upload_session_response import GetUploadSessionResponse from apideck.model.not_found_response import NotFoundResponse +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.payment_required_response import PaymentRequiredResponse from apideck.model.shared_link import SharedLink from apideck.model.unauthorized_response import UnauthorizedResponse @@ -61,6 +62,8 @@ from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.update_drive_group_response import UpdateDriveGroupResponse from apideck.model.update_drive_response import UpdateDriveResponse +from apideck.model.update_file_request import UpdateFileRequest +from apideck.model.update_file_response import UpdateFileResponse from apideck.model.update_folder_request import UpdateFolderRequest from apideck.model.update_folder_response import UpdateFolderResponse from apideck.model.update_shared_link_response import UpdateSharedLinkResponse @@ -169,10 +172,12 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -205,6 +210,8 @@ def __init__(self, api_client=None): (int,), 'filter': (DriveGroupsFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -214,6 +221,7 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -223,6 +231,7 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -324,11 +333,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -351,6 +362,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -358,6 +371,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -365,6 +379,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -547,10 +562,12 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -583,6 +600,8 @@ def __init__(self, api_client=None): (int,), 'filter': (DrivesFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -592,6 +611,7 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -601,6 +621,7 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -702,11 +723,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -729,6 +752,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -736,6 +761,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -743,6 +769,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -854,10 +881,13 @@ def __init__(self, api_client=None): 'limit', 'filter', 'sort', + 'pass_through', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -892,6 +922,10 @@ def __init__(self, api_client=None): (FilesFilter,), 'sort': (FilesSort,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -902,6 +936,8 @@ def __init__(self, api_client=None): 'limit': 'limit', 'filter': 'filter', 'sort': 'sort', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -912,6 +948,8 @@ def __init__(self, api_client=None): 'limit': 'query', 'filter': 'query', 'sort': 'query', + 'pass_through': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1012,11 +1050,13 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1037,18 +1077,22 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'id': 'path', 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -1080,11 +1124,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1107,6 +1153,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1114,6 +1162,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1121,6 +1170,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1150,11 +1200,14 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'pass_through', + 'fields', ], 'required': [ 'files_search', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1175,17 +1228,103 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'pass_through': + (PassThroughQuery,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'pass_through': 'pass_through', + 'fields': 'fields', }, 'location_map': { 'files_search': 'body', 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'pass_through': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.files_update_endpoint = _Endpoint( + settings={ + 'response_type': (UpdateFileResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/file-storage/files/{id}', + 'operation_id': 'files_update', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'update_file_request', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + ], + 'required': [ + 'id', + 'update_file_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'update_file_request': + (UpdateFileRequest,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + }, + 'attribute_map': { + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + }, + 'location_map': { + 'id': 'path', + 'update_file_request': 'body', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', }, 'collection_format_map': { } @@ -1218,11 +1357,13 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [ 'create_folder_request', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1245,12 +1386,15 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'create_folder_request': 'body', @@ -1258,6 +1402,7 @@ def __init__(self, api_client=None): 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -1291,12 +1436,14 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', 'copy_folder_request', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1321,6 +1468,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1328,6 +1477,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1336,6 +1486,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1439,11 +1590,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1466,6 +1619,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1473,6 +1628,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1480,6 +1636,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1661,10 +1818,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1695,6 +1854,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1703,6 +1864,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1711,6 +1873,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1812,11 +1975,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1839,6 +2004,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1846,6 +2013,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1853,6 +2021,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2201,11 +2370,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2228,6 +2399,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2235,6 +2408,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2242,6 +2416,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2357,8 +2532,9 @@ def drive_groups_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (DriveGroupsFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2521,6 +2697,7 @@ def drive_groups_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2769,8 +2946,9 @@ def drives_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (DrivesFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2933,6 +3111,7 @@ def drives_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3099,9 +3278,11 @@ def files_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (FilesFilter): Apply filters. [optional] sort (FilesSort): Apply sorting. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3263,6 +3444,7 @@ def files_download( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3345,6 +3527,7 @@ def files_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3426,6 +3609,8 @@ def files_search( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + pass_through (PassThroughQuery): Optional unmapped key/values that will be passed through to downstream as query parameters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3486,6 +3671,92 @@ def files_search( files_search return self.files_search_endpoint.call_with_http_info(**kwargs) + def files_update( + self, + id, + update_file_request, + **kwargs + ): + """Rename or move File # noqa: E501 + + Rename or move File # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.files_update(id, update_file_request, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + update_file_request (UpdateFileRequest): + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + UpdateFileResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + kwargs['update_file_request'] = \ + update_file_request + return self.files_update_endpoint.call_with_http_info(**kwargs) + def folders_add( self, create_folder_request, @@ -3508,6 +3779,7 @@ def folders_add( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3592,6 +3864,7 @@ def folders_copy( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3758,6 +4031,7 @@ def folders_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4006,7 +4280,8 @@ def shared_links_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4169,6 +4444,7 @@ def shared_links_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4585,6 +4861,7 @@ def upload_sessions_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/hris_api.py b/src/apideck/api/hris_api.py index d4b450ae7..b96fe7981 100644 --- a/src/apideck/api/hris_api.py +++ b/src/apideck/api/hris_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -33,6 +33,7 @@ from apideck.model.department import Department from apideck.model.employee import Employee from apideck.model.employees_filter import EmployeesFilter +from apideck.model.employees_sort import EmployeesSort from apideck.model.get_department_response import GetDepartmentResponse from apideck.model.get_departments_response import GetDepartmentsResponse from apideck.model.get_employee_payroll_response import GetEmployeePayrollResponse @@ -42,8 +43,6 @@ from apideck.model.get_employees_response import GetEmployeesResponse from apideck.model.get_hris_companies_response import GetHrisCompaniesResponse from apideck.model.get_hris_company_response import GetHrisCompanyResponse -from apideck.model.get_hris_job_response import GetHrisJobResponse -from apideck.model.get_hris_jobs_response import GetHrisJobsResponse from apideck.model.get_payroll_response import GetPayrollResponse from apideck.model.get_payrolls_response import GetPayrollsResponse from apideck.model.get_time_off_request_response import GetTimeOffRequestResponse @@ -165,10 +164,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -199,6 +200,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -207,6 +210,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -215,6 +219,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -316,11 +321,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -343,6 +350,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -350,6 +359,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -357,6 +367,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -538,10 +549,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -572,6 +585,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -580,6 +595,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -588,6 +604,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -689,11 +706,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -716,6 +735,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -723,6 +744,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -730,6 +752,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -839,11 +862,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'filter', + 'fields', ], 'required': [ 'employee_id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -868,6 +893,8 @@ def __init__(self, api_client=None): (str,), 'filter': (PayrollsFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'employee_id': 'employee_id', @@ -876,6 +903,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'employee_id': 'path', @@ -884,6 +912,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -915,12 +944,14 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [ 'payroll_id', 'employee_id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -945,6 +976,8 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'payroll_id': 'payroll_id', @@ -953,6 +986,7 @@ def __init__(self, api_client=None): 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'payroll_id': 'path', @@ -961,6 +995,7 @@ def __init__(self, api_client=None): 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -991,11 +1026,13 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [ 'employee_id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1018,6 +1055,8 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'employee_id': 'employee_id', @@ -1025,6 +1064,7 @@ def __init__(self, api_client=None): 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'employee_id': 'path', @@ -1032,6 +1072,7 @@ def __init__(self, api_client=None): 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -1136,10 +1177,13 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'sort', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1172,6 +1216,10 @@ def __init__(self, api_client=None): (int,), 'filter': (EmployeesFilter,), + 'sort': + (EmployeesSort,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1181,6 +1229,8 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'sort': 'sort', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1190,6 +1240,8 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'sort': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1291,11 +1343,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1318,6 +1372,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1325,6 +1381,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1332,6 +1389,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1422,154 +1480,6 @@ def __init__(self, api_client=None): }, api_client=api_client ) - self.jobs_all_endpoint = _Endpoint( - settings={ - 'response_type': (GetHrisJobsResponse,), - 'auth': [ - 'apiKey' - ], - 'endpoint_path': '/hris/jobs/employees/{employee_id}', - 'operation_id': 'jobs_all', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'employee_id', - 'raw', - 'consumer_id', - 'app_id', - 'service_id', - ], - 'required': [ - 'employee_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'employee_id': - (str,), - 'raw': - (bool,), - 'consumer_id': - (str,), - 'app_id': - (str,), - 'service_id': - (str,), - }, - 'attribute_map': { - 'employee_id': 'employee_id', - 'raw': 'raw', - 'consumer_id': 'x-apideck-consumer-id', - 'app_id': 'x-apideck-app-id', - 'service_id': 'x-apideck-service-id', - }, - 'location_map': { - 'employee_id': 'path', - 'raw': 'query', - 'consumer_id': 'header', - 'app_id': 'header', - 'service_id': 'header', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) - self.jobs_one_endpoint = _Endpoint( - settings={ - 'response_type': (GetHrisJobResponse,), - 'auth': [ - 'apiKey' - ], - 'endpoint_path': '/hris/jobs/employees/{employee_id}/jobs/{job_id}', - 'operation_id': 'jobs_one', - 'http_method': 'GET', - 'servers': None, - }, - params_map={ - 'all': [ - 'job_id', - 'employee_id', - 'raw', - 'consumer_id', - 'app_id', - 'service_id', - ], - 'required': [ - 'job_id', - 'employee_id', - ], - 'nullable': [ - ], - 'enum': [ - ], - 'validation': [ - ] - }, - root_map={ - 'validations': { - }, - 'allowed_values': { - }, - 'openapi_types': { - 'job_id': - (str,), - 'employee_id': - (str,), - 'raw': - (bool,), - 'consumer_id': - (str,), - 'app_id': - (str,), - 'service_id': - (str,), - }, - 'attribute_map': { - 'job_id': 'job_id', - 'employee_id': 'employee_id', - 'raw': 'raw', - 'consumer_id': 'x-apideck-consumer-id', - 'app_id': 'x-apideck-app-id', - 'service_id': 'x-apideck-service-id', - }, - 'location_map': { - 'job_id': 'path', - 'employee_id': 'path', - 'raw': 'query', - 'consumer_id': 'header', - 'app_id': 'header', - 'service_id': 'header', - }, - 'collection_format_map': { - } - }, - headers_map={ - 'accept': [ - 'application/json' - ], - 'content_type': [], - }, - api_client=api_client - ) self.payrolls_all_endpoint = _Endpoint( settings={ 'response_type': (GetPayrollsResponse,), @@ -1588,9 +1498,11 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'filter', + 'fields', ], 'required': [], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1613,6 +1525,8 @@ def __init__(self, api_client=None): (str,), 'filter': (PayrollsFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1620,6 +1534,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1627,6 +1542,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1657,11 +1573,13 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [ 'payroll_id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1684,6 +1602,8 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'payroll_id': 'payroll_id', @@ -1691,6 +1611,7 @@ def __init__(self, api_client=None): 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'payroll_id': 'path', @@ -1698,6 +1619,7 @@ def __init__(self, api_client=None): 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -1802,10 +1724,12 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'filter', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1838,6 +1762,8 @@ def __init__(self, api_client=None): (int,), 'filter': (TimeOffRequestsFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1847,6 +1773,7 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1856,6 +1783,7 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1957,11 +1885,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1984,6 +1914,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1991,6 +1923,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1998,6 +1931,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2191,7 +2125,8 @@ def companies_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2354,6 +2289,7 @@ def companies_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2602,7 +2538,8 @@ def departments_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2765,6 +2702,7 @@ def departments_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -2934,6 +2872,7 @@ def employee_payrolls_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] filter (PayrollsFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3018,6 +2957,7 @@ def employee_payrolls_one( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3102,6 +3042,7 @@ def employee_schedules_all( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3264,8 +3205,10 @@ def employees_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (EmployeesFilter): Apply filters. [optional] + sort (EmployeesSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3428,6 +3371,7 @@ def employees_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3574,174 +3518,6 @@ def employees_update( employee return self.employees_update_endpoint.call_with_http_info(**kwargs) - def jobs_all( - self, - employee_id, - **kwargs - ): - """List Jobs # noqa: E501 - - List Jobs for employee. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.jobs_all(employee_id, async_req=True) - >>> result = thread.get() - - Args: - employee_id (str): ID of the employee you are acting upon. - - Keyword Args: - raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False - consumer_id (str): ID of the consumer which you want to get or push data from. [optional] - app_id (str): The ID of your Unify application. [optional] - service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GetHrisJobsResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['employee_id'] = \ - employee_id - return self.jobs_all_endpoint.call_with_http_info(**kwargs) - - def jobs_one( - self, - job_id, - employee_id, - **kwargs - ): - """One Job # noqa: E501 - - A Job for employee. # noqa: E501 - This method makes a synchronous HTTP request by default. To make an - asynchronous HTTP request, please pass async_req=True - - >>> thread = api.jobs_one(job_id, employee_id, async_req=True) - >>> result = thread.get() - - Args: - job_id (str): ID of the job you are acting upon. - employee_id (str): ID of the employee you are acting upon. - - Keyword Args: - raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False - consumer_id (str): ID of the consumer which you want to get or push data from. [optional] - app_id (str): The ID of your Unify application. [optional] - service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] - _return_http_data_only (bool): response data without head status - code and headers. Default is True. - _preload_content (bool): if False, the urllib3.HTTPResponse object - will be returned without reading/decoding response data. - Default is True. - _request_timeout (int/float/tuple): timeout setting for this request. If - one number provided, it will be total request timeout. It can also - be a pair (tuple) of (connection, read) timeouts. - Default is None. - _check_input_type (bool): specifies if type checking - should be done one the data sent to the server. - Default is True. - _check_return_type (bool): specifies if type checking - should be done one the data received from the server. - Default is True. - _spec_property_naming (bool): True if the variable names in the input data - are serialized names, as specified in the OpenAPI document. - False if the variable names in the input data - are pythonic names, e.g. snake case (default) - _content_type (str/None): force body content-type. - Default is None and content-type will be predicted by allowed - content-types and body. - _host_index (int/None): specifies the index of the server - that we want to use. - Default is read from the configuration. - async_req (bool): execute request asynchronously - - Returns: - GetHrisJobResponse - If the method is called asynchronously, returns the request - thread. - """ - kwargs['async_req'] = kwargs.get( - 'async_req', False - ) - kwargs['_return_http_data_only'] = kwargs.get( - '_return_http_data_only', True - ) - kwargs['_preload_content'] = kwargs.get( - '_preload_content', True - ) - kwargs['_request_timeout'] = kwargs.get( - '_request_timeout', None - ) - kwargs['_check_input_type'] = kwargs.get( - '_check_input_type', True - ) - kwargs['_check_return_type'] = kwargs.get( - '_check_return_type', True - ) - kwargs['_spec_property_naming'] = kwargs.get( - '_spec_property_naming', False - ) - kwargs['_content_type'] = kwargs.get( - '_content_type') - kwargs['_host_index'] = kwargs.get('_host_index') - kwargs['job_id'] = \ - job_id - kwargs['employee_id'] = \ - employee_id - return self.jobs_one_endpoint.call_with_http_info(**kwargs) - def payrolls_all( self, **kwargs @@ -3762,6 +3538,7 @@ def payrolls_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] filter (PayrollsFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3842,6 +3619,7 @@ def payrolls_one( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4004,8 +3782,9 @@ def time_off_requests_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (TimeOffRequestsFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4168,6 +3947,7 @@ def time_off_requests_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/issue_tracking_api.py b/src/apideck/api/issue_tracking_api.py new file mode 100644 index 000000000..583b6ba7b --- /dev/null +++ b/src/apideck/api/issue_tracking_api.py @@ -0,0 +1,2712 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.api_client import ApiClient, Endpoint as _Endpoint +from apideck.model_utils import ( # noqa: F401 + check_allowed_values, + check_validations, + date, + datetime, + file_type, + none_type, + validate_and_convert_types +) +from apideck.model.bad_request_response import BadRequestResponse +from apideck.model.collection_ticket_comment import CollectionTicketComment +from apideck.model.collections_sort import CollectionsSort +from apideck.model.comments_sort import CommentsSort +from apideck.model.create_comment_response import CreateCommentResponse +from apideck.model.create_ticket_response import CreateTicketResponse +from apideck.model.delete_comment_response import DeleteCommentResponse +from apideck.model.delete_ticket_response import DeleteTicketResponse +from apideck.model.get_collection_response import GetCollectionResponse +from apideck.model.get_collection_tags_response import GetCollectionTagsResponse +from apideck.model.get_collection_user_response import GetCollectionUserResponse +from apideck.model.get_collection_users_response import GetCollectionUsersResponse +from apideck.model.get_collections_response import GetCollectionsResponse +from apideck.model.get_comment_response import GetCommentResponse +from apideck.model.get_comments_response import GetCommentsResponse +from apideck.model.get_ticket_response import GetTicketResponse +from apideck.model.get_tickets_response import GetTicketsResponse +from apideck.model.issues_filter import IssuesFilter +from apideck.model.not_found_response import NotFoundResponse +from apideck.model.payment_required_response import PaymentRequiredResponse +from apideck.model.ticket import Ticket +from apideck.model.tickets_sort import TicketsSort +from apideck.model.unauthorized_response import UnauthorizedResponse +from apideck.model.unexpected_error_response import UnexpectedErrorResponse +from apideck.model.unprocessable_response import UnprocessableResponse +from apideck.model.update_comment_response import UpdateCommentResponse +from apideck.model.update_ticket_response import UpdateTicketResponse + + +class IssueTrackingApi(object): + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None): + if api_client is None: + api_client = ApiClient() + self.api_client = api_client + self.collection_tags_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetCollectionTagsResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tags', + 'operation_id': 'collection_tags_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'fields', + ], + 'required': [ + 'collection_id', + ], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'fields': 'fields', + }, + 'location_map': { + 'collection_id': 'path', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_ticket_comments_add_endpoint = _Endpoint( + settings={ + 'response_type': (CreateCommentResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments', + 'operation_id': 'collection_ticket_comments_add', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'ticket_id', + 'collection_ticket_comment', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + ], + 'required': [ + 'collection_id', + 'ticket_id', + 'collection_ticket_comment', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'ticket_id': + (str,), + 'collection_ticket_comment': + (CollectionTicketComment,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'ticket_id': 'ticket_id', + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + }, + 'location_map': { + 'collection_id': 'path', + 'ticket_id': 'path', + 'collection_ticket_comment': 'body', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.collection_ticket_comments_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetCommentsResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments', + 'operation_id': 'collection_ticket_comments_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'ticket_id', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'sort', + 'fields', + ], + 'required': [ + 'collection_id', + 'ticket_id', + ], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'ticket_id': + (str,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'sort': + (CommentsSort,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'ticket_id': 'ticket_id', + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'sort': 'sort', + 'fields': 'fields', + }, + 'location_map': { + 'collection_id': 'path', + 'ticket_id': 'path', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'sort': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_ticket_comments_delete_endpoint = _Endpoint( + settings={ + 'response_type': (DeleteCommentResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id}', + 'operation_id': 'collection_ticket_comments_delete', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'collection_id', + 'ticket_id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + ], + 'required': [ + 'id', + 'collection_id', + 'ticket_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'collection_id': + (str,), + 'ticket_id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + }, + 'attribute_map': { + 'id': 'id', + 'collection_id': 'collection_id', + 'ticket_id': 'ticket_id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + }, + 'location_map': { + 'id': 'path', + 'collection_id': 'path', + 'ticket_id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_ticket_comments_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetCommentResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id}', + 'operation_id': 'collection_ticket_comments_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'collection_id', + 'ticket_id', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'fields', + ], + 'required': [ + 'id', + 'collection_id', + 'ticket_id', + ], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'collection_id': + (str,), + 'ticket_id': + (str,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'id': 'id', + 'collection_id': 'collection_id', + 'ticket_id': 'ticket_id', + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'fields': 'fields', + }, + 'location_map': { + 'id': 'path', + 'collection_id': 'path', + 'ticket_id': 'path', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_ticket_comments_update_endpoint = _Endpoint( + settings={ + 'response_type': (UpdateCommentResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}/comments/{id}', + 'operation_id': 'collection_ticket_comments_update', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'id', + 'collection_id', + 'ticket_id', + 'collection_ticket_comment', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + ], + 'required': [ + 'id', + 'collection_id', + 'ticket_id', + 'collection_ticket_comment', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'id': + (str,), + 'collection_id': + (str,), + 'ticket_id': + (str,), + 'collection_ticket_comment': + (CollectionTicketComment,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + }, + 'attribute_map': { + 'id': 'id', + 'collection_id': 'collection_id', + 'ticket_id': 'ticket_id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + }, + 'location_map': { + 'id': 'path', + 'collection_id': 'path', + 'ticket_id': 'path', + 'collection_ticket_comment': 'body', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.collection_tickets_add_endpoint = _Endpoint( + settings={ + 'response_type': (CreateTicketResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets', + 'operation_id': 'collection_tickets_add', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'ticket', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + ], + 'required': [ + 'collection_id', + 'ticket', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'ticket': + (Ticket,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + }, + 'location_map': { + 'collection_id': 'path', + 'ticket': 'body', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.collection_tickets_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetTicketsResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets', + 'operation_id': 'collection_tickets_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'sort', + 'filter', + 'fields', + ], + 'required': [ + 'collection_id', + ], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'sort': + (TicketsSort,), + 'filter': + (IssuesFilter,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'sort': 'sort', + 'filter': 'filter', + 'fields': 'fields', + }, + 'location_map': { + 'collection_id': 'path', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'sort': 'query', + 'filter': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_tickets_delete_endpoint = _Endpoint( + settings={ + 'response_type': (DeleteTicketResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}', + 'operation_id': 'collection_tickets_delete', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'ticket_id', + 'collection_id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + ], + 'required': [ + 'ticket_id', + 'collection_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'ticket_id': + (str,), + 'collection_id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + }, + 'attribute_map': { + 'ticket_id': 'ticket_id', + 'collection_id': 'collection_id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + }, + 'location_map': { + 'ticket_id': 'path', + 'collection_id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_tickets_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetTicketResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}', + 'operation_id': 'collection_tickets_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'ticket_id', + 'collection_id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [ + 'ticket_id', + 'collection_id', + ], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'ticket_id': + (str,), + 'collection_id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'ticket_id': 'ticket_id', + 'collection_id': 'collection_id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'ticket_id': 'path', + 'collection_id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_tickets_update_endpoint = _Endpoint( + settings={ + 'response_type': (UpdateTicketResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/tickets/{ticket_id}', + 'operation_id': 'collection_tickets_update', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'ticket_id', + 'collection_id', + 'ticket', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + ], + 'required': [ + 'ticket_id', + 'collection_id', + 'ticket', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'ticket_id': + (str,), + 'collection_id': + (str,), + 'ticket': + (Ticket,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + }, + 'attribute_map': { + 'ticket_id': 'ticket_id', + 'collection_id': 'collection_id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + }, + 'location_map': { + 'ticket_id': 'path', + 'collection_id': 'path', + 'ticket': 'body', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) + self.collection_users_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetCollectionUsersResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/users', + 'operation_id': 'collection_users_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'fields', + ], + 'required': [ + 'collection_id', + ], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'fields': 'fields', + }, + 'location_map': { + 'collection_id': 'path', + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collection_users_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetCollectionUserResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}/users/{id}', + 'operation_id': 'collection_users_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [ + 'collection_id', + 'id', + ], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'id': 'id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'collection_id': 'path', + 'id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collections_all_endpoint = _Endpoint( + settings={ + 'response_type': (GetCollectionsResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections', + 'operation_id': 'collections_all', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'raw', + 'consumer_id', + 'app_id', + 'service_id', + 'cursor', + 'limit', + 'sort', + 'fields', + ], + 'required': [], + 'nullable': [ + 'cursor', + 'fields', + ], + 'enum': [ + ], + 'validation': [ + 'limit', + ] + }, + root_map={ + 'validations': { + ('limit',): { + + 'inclusive_maximum': 200, + 'inclusive_minimum': 1, + }, + }, + 'allowed_values': { + }, + 'openapi_types': { + 'raw': + (bool,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'cursor': + (str, none_type,), + 'limit': + (int,), + 'sort': + (CollectionsSort,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'raw': 'raw', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'cursor': 'cursor', + 'limit': 'limit', + 'sort': 'sort', + 'fields': 'fields', + }, + 'location_map': { + 'raw': 'query', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'cursor': 'query', + 'limit': 'query', + 'sort': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + self.collections_one_endpoint = _Endpoint( + settings={ + 'response_type': (GetCollectionResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/issue-tracking/collections/{collection_id}', + 'operation_id': 'collections_one', + 'http_method': 'GET', + 'servers': None, + }, + params_map={ + 'all': [ + 'collection_id', + 'consumer_id', + 'app_id', + 'service_id', + 'raw', + 'fields', + ], + 'required': [ + 'collection_id', + ], + 'nullable': [ + 'fields', + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'collection_id': + (str,), + 'consumer_id': + (str,), + 'app_id': + (str,), + 'service_id': + (str,), + 'raw': + (bool,), + 'fields': + (str, none_type,), + }, + 'attribute_map': { + 'collection_id': 'collection_id', + 'consumer_id': 'x-apideck-consumer-id', + 'app_id': 'x-apideck-app-id', + 'service_id': 'x-apideck-service-id', + 'raw': 'raw', + 'fields': 'fields', + }, + 'location_map': { + 'collection_id': 'path', + 'consumer_id': 'header', + 'app_id': 'header', + 'service_id': 'header', + 'raw': 'query', + 'fields': 'query', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) + + def collection_tags_all( + self, + collection_id, + **kwargs + ): + """List Tags # noqa: E501 + + List Tags # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_tags_all(collection_id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetCollectionTagsResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + return self.collection_tags_all_endpoint.call_with_http_info(**kwargs) + + def collection_ticket_comments_add( + self, + collection_id, + ticket_id, + collection_ticket_comment, + **kwargs + ): + """Create Comment # noqa: E501 + + Create Comment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_ticket_comments_add(collection_id, ticket_id, collection_ticket_comment, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + ticket_id (str): ID of the ticket you are acting upon. + collection_ticket_comment (CollectionTicketComment): + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + CreateCommentResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + kwargs['ticket_id'] = \ + ticket_id + kwargs['collection_ticket_comment'] = \ + collection_ticket_comment + return self.collection_ticket_comments_add_endpoint.call_with_http_info(**kwargs) + + def collection_ticket_comments_all( + self, + collection_id, + ticket_id, + **kwargs + ): + """List Comments # noqa: E501 + + List Comments # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_ticket_comments_all(collection_id, ticket_id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + ticket_id (str): ID of the ticket you are acting upon. + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + sort (CommentsSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetCommentsResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + kwargs['ticket_id'] = \ + ticket_id + return self.collection_ticket_comments_all_endpoint.call_with_http_info(**kwargs) + + def collection_ticket_comments_delete( + self, + id, + collection_id, + ticket_id, + **kwargs + ): + """Delete Comment # noqa: E501 + + Delete Comment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_ticket_comments_delete(id, collection_id, ticket_id, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + collection_id (str): The collection ID + ticket_id (str): ID of the ticket you are acting upon. + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + DeleteCommentResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + kwargs['collection_id'] = \ + collection_id + kwargs['ticket_id'] = \ + ticket_id + return self.collection_ticket_comments_delete_endpoint.call_with_http_info(**kwargs) + + def collection_ticket_comments_one( + self, + id, + collection_id, + ticket_id, + **kwargs + ): + """Get Comment # noqa: E501 + + Get Comment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_ticket_comments_one(id, collection_id, ticket_id, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + collection_id (str): The collection ID + ticket_id (str): ID of the ticket you are acting upon. + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetCommentResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + kwargs['collection_id'] = \ + collection_id + kwargs['ticket_id'] = \ + ticket_id + return self.collection_ticket_comments_one_endpoint.call_with_http_info(**kwargs) + + def collection_ticket_comments_update( + self, + id, + collection_id, + ticket_id, + collection_ticket_comment, + **kwargs + ): + """Update Comment # noqa: E501 + + Update Comment # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_ticket_comments_update(id, collection_id, ticket_id, collection_ticket_comment, async_req=True) + >>> result = thread.get() + + Args: + id (str): ID of the record you are acting upon. + collection_id (str): The collection ID + ticket_id (str): ID of the ticket you are acting upon. + collection_ticket_comment (CollectionTicketComment): + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + UpdateCommentResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['id'] = \ + id + kwargs['collection_id'] = \ + collection_id + kwargs['ticket_id'] = \ + ticket_id + kwargs['collection_ticket_comment'] = \ + collection_ticket_comment + return self.collection_ticket_comments_update_endpoint.call_with_http_info(**kwargs) + + def collection_tickets_add( + self, + collection_id, + ticket, + **kwargs + ): + """Create Ticket # noqa: E501 + + Create Ticket # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_tickets_add(collection_id, ticket, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + ticket (Ticket): + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + CreateTicketResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + kwargs['ticket'] = \ + ticket + return self.collection_tickets_add_endpoint.call_with_http_info(**kwargs) + + def collection_tickets_all( + self, + collection_id, + **kwargs + ): + """List Tickets # noqa: E501 + + List Tickets # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_tickets_all(collection_id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + sort (TicketsSort): Apply sorting. [optional] + filter (IssuesFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetTicketsResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + return self.collection_tickets_all_endpoint.call_with_http_info(**kwargs) + + def collection_tickets_delete( + self, + ticket_id, + collection_id, + **kwargs + ): + """Delete Ticket # noqa: E501 + + Delete Ticket # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_tickets_delete(ticket_id, collection_id, async_req=True) + >>> result = thread.get() + + Args: + ticket_id (str): ID of the ticket you are acting upon. + collection_id (str): The collection ID + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + DeleteTicketResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['ticket_id'] = \ + ticket_id + kwargs['collection_id'] = \ + collection_id + return self.collection_tickets_delete_endpoint.call_with_http_info(**kwargs) + + def collection_tickets_one( + self, + ticket_id, + collection_id, + **kwargs + ): + """Get Ticket # noqa: E501 + + Get Ticket # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_tickets_one(ticket_id, collection_id, async_req=True) + >>> result = thread.get() + + Args: + ticket_id (str): ID of the ticket you are acting upon. + collection_id (str): The collection ID + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetTicketResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['ticket_id'] = \ + ticket_id + kwargs['collection_id'] = \ + collection_id + return self.collection_tickets_one_endpoint.call_with_http_info(**kwargs) + + def collection_tickets_update( + self, + ticket_id, + collection_id, + ticket, + **kwargs + ): + """Update Ticket # noqa: E501 + + Update Ticket # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_tickets_update(ticket_id, collection_id, ticket, async_req=True) + >>> result = thread.get() + + Args: + ticket_id (str): ID of the ticket you are acting upon. + collection_id (str): The collection ID + ticket (Ticket): + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + UpdateTicketResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['ticket_id'] = \ + ticket_id + kwargs['collection_id'] = \ + collection_id + kwargs['ticket'] = \ + ticket + return self.collection_tickets_update_endpoint.call_with_http_info(**kwargs) + + def collection_users_all( + self, + collection_id, + **kwargs + ): + """List Users # noqa: E501 + + List Users # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_users_all(collection_id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetCollectionUsersResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + return self.collection_users_all_endpoint.call_with_http_info(**kwargs) + + def collection_users_one( + self, + collection_id, + id, + **kwargs + ): + """Get user # noqa: E501 + + Get user # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collection_users_one(collection_id, id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + id (str): ID of the record you are acting upon. + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetCollectionUserResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + kwargs['id'] = \ + id + return self.collection_users_one_endpoint.call_with_http_info(**kwargs) + + def collections_all( + self, + **kwargs + ): + """List Collections # noqa: E501 + + List Collections # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collections_all(async_req=True) + >>> result = thread.get() + + + Keyword Args: + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + sort (CollectionsSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetCollectionsResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + return self.collections_all_endpoint.call_with_http_info(**kwargs) + + def collections_one( + self, + collection_id, + **kwargs + ): + """Get Collection # noqa: E501 + + Get Collection # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.collections_one(collection_id, async_req=True) + >>> result = thread.get() + + Args: + collection_id (str): The collection ID + + Keyword Args: + consumer_id (str): ID of the consumer which you want to get or push data from. [optional] + app_id (str): The ID of your Unify application. [optional] + service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + GetCollectionResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['collection_id'] = \ + collection_id + return self.collections_one_endpoint.call_with_http_info(**kwargs) + diff --git a/src/apideck/api/lead_api.py b/src/apideck/api/lead_api.py index 7a764a913..0f2e97e3d 100644 --- a/src/apideck/api/lead_api.py +++ b/src/apideck/api/lead_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -141,10 +141,12 @@ def __init__(self, api_client=None): 'limit', 'filter', 'sort', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -179,6 +181,8 @@ def __init__(self, api_client=None): (LeadsFilter,), 'sort': (LeadsSort,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -189,6 +193,7 @@ def __init__(self, api_client=None): 'limit': 'limit', 'filter': 'filter', 'sort': 'sort', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -199,6 +204,7 @@ def __init__(self, api_client=None): 'limit': 'query', 'filter': 'query', 'sort': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -300,11 +306,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -327,6 +335,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -334,6 +344,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -341,6 +352,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -534,9 +546,10 @@ def leads_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (LeadsFilter): Apply filters. [optional] sort (LeadsSort): Apply sorting. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -699,6 +712,7 @@ def leads_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/pos_api.py b/src/apideck/api/pos_api.py index d25a226a8..0cec817cc 100644 --- a/src/apideck/api/pos_api.py +++ b/src/apideck/api/pos_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -186,10 +186,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -220,6 +222,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -228,6 +232,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -236,6 +241,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -337,11 +343,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -364,6 +372,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -371,6 +381,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -378,6 +389,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -559,10 +571,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -593,6 +607,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -601,6 +617,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -609,6 +626,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -710,11 +728,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -737,6 +757,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -744,6 +766,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -751,6 +774,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -932,10 +956,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -966,6 +992,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -974,6 +1002,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -982,6 +1011,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1083,11 +1113,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1110,6 +1142,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1117,6 +1151,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1124,6 +1159,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1305,10 +1341,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1339,6 +1377,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1347,6 +1387,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1355,6 +1396,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1456,11 +1498,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1483,6 +1527,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1490,6 +1536,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1497,6 +1544,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1678,10 +1726,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -1712,6 +1762,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -1720,6 +1772,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -1728,6 +1781,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -1835,11 +1889,13 @@ def __init__(self, api_client=None): 'service_id', 'raw', 'filter', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -1864,6 +1920,8 @@ def __init__(self, api_client=None): (bool,), 'filter': (ModifierGroupFilter,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -1872,6 +1930,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'raw': 'raw', 'filter': 'filter', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -1880,6 +1939,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'raw': 'query', 'filter': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2061,10 +2121,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2095,6 +2157,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2103,6 +2167,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2111,6 +2176,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2212,11 +2278,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2239,6 +2307,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2246,6 +2316,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2253,6 +2324,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2435,10 +2507,12 @@ def __init__(self, api_client=None): 'cursor', 'limit', 'location_id', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2471,6 +2545,8 @@ def __init__(self, api_client=None): (int,), 'location_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2480,6 +2556,7 @@ def __init__(self, api_client=None): 'cursor': 'cursor', 'limit': 'limit', 'location_id': 'location_id', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2489,6 +2566,7 @@ def __init__(self, api_client=None): 'cursor': 'query', 'limit': 'query', 'location_id': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2590,11 +2668,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2617,6 +2697,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2624,6 +2706,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2631,6 +2714,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -2662,12 +2746,14 @@ def __init__(self, api_client=None): 'consumer_id', 'app_id', 'service_id', + 'fields', ], 'required': [ 'id', 'order', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -2692,6 +2778,8 @@ def __init__(self, api_client=None): (str,), 'service_id': (str,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -2699,6 +2787,7 @@ def __init__(self, api_client=None): 'consumer_id': 'x-apideck-consumer-id', 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -2707,6 +2796,7 @@ def __init__(self, api_client=None): 'consumer_id': 'header', 'app_id': 'header', 'service_id': 'header', + 'fields': 'query', }, 'collection_format_map': { } @@ -2890,10 +2980,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -2924,6 +3016,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -2932,6 +3026,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -2940,6 +3035,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3041,11 +3137,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -3068,6 +3166,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -3075,6 +3175,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -3082,6 +3183,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3263,10 +3365,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -3297,6 +3401,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -3305,6 +3411,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -3313,6 +3420,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3414,11 +3522,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -3441,6 +3551,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -3448,6 +3560,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -3455,6 +3568,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -3648,7 +3762,8 @@ def items_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -3811,6 +3926,7 @@ def items_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4059,7 +4175,8 @@ def locations_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4222,6 +4339,7 @@ def locations_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4470,7 +4588,8 @@ def merchants_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4633,6 +4752,7 @@ def merchants_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -4881,7 +5001,8 @@ def modifier_groups_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5044,6 +5165,7 @@ def modifier_groups_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5292,7 +5414,8 @@ def modifiers_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5457,6 +5580,7 @@ def modifiers_one( service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False filter (ModifierGroupFilter): Apply filters. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5705,7 +5829,8 @@ def order_types_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -5868,6 +5993,7 @@ def order_types_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6116,8 +6242,9 @@ def orders_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 location_id (str): ID of the location.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6280,6 +6407,7 @@ def orders_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6364,6 +6492,7 @@ def orders_pay( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6614,7 +6743,8 @@ def payments_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -6777,6 +6907,7 @@ def payments_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7025,7 +7156,8 @@ def tenders_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -7188,6 +7320,7 @@ def tenders_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/sms_api.py b/src/apideck/api/sms_api.py index 2a0007cd0..ec19c1aaa 100644 --- a/src/apideck/api/sms_api.py +++ b/src/apideck/api/sms_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -137,10 +137,12 @@ def __init__(self, api_client=None): 'service_id', 'cursor', 'limit', + 'fields', ], 'required': [], 'nullable': [ 'cursor', + 'fields', ], 'enum': [ ], @@ -171,6 +173,8 @@ def __init__(self, api_client=None): (str, none_type,), 'limit': (int,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'raw': 'raw', @@ -179,6 +183,7 @@ def __init__(self, api_client=None): 'service_id': 'x-apideck-service-id', 'cursor': 'cursor', 'limit': 'limit', + 'fields': 'fields', }, 'location_map': { 'raw': 'query', @@ -187,6 +192,7 @@ def __init__(self, api_client=None): 'service_id': 'header', 'cursor': 'query', 'limit': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -288,11 +294,13 @@ def __init__(self, api_client=None): 'app_id', 'service_id', 'raw', + 'fields', ], 'required': [ 'id', ], 'nullable': [ + 'fields', ], 'enum': [ ], @@ -315,6 +323,8 @@ def __init__(self, api_client=None): (str,), 'raw': (bool,), + 'fields': + (str, none_type,), }, 'attribute_map': { 'id': 'id', @@ -322,6 +332,7 @@ def __init__(self, api_client=None): 'app_id': 'x-apideck-app-id', 'service_id': 'x-apideck-service-id', 'raw': 'raw', + 'fields': 'fields', }, 'location_map': { 'id': 'path', @@ -329,6 +340,7 @@ def __init__(self, api_client=None): 'app_id': 'header', 'service_id': 'header', 'raw': 'query', + 'fields': 'query', }, 'collection_format_map': { } @@ -522,7 +534,8 @@ def messages_all( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -685,6 +698,7 @@ def messages_one( app_id (str): The ID of your Unify application. [optional] service_id (str): Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API.. [optional] raw (bool): Include raw response. Mostly used for debugging purposes. [optional] if omitted the server will use the default value of False + fields (str, none_type): The 'fields' parameter allows API users to specify the fields they want to include in the API response. If this parameter is not present, the API will return all available fields. If this parameter is present, only the fields specified in the comma-separated string will be included in the response. Nested properties can also be requested by using a dot notation.

Example: `fields=name,email,addresses.city`

In the example above, the response will only include the fields \"name\", \"email\" and \"addresses.city\". If any other fields are available, they will be excluded.. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api/vault_api.py b/src/apideck/api/vault_api.py index f796311df..e0fc4e775 100644 --- a/src/apideck/api/vault_api.py +++ b/src/apideck/api/vault_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -24,9 +24,12 @@ from apideck.model.bad_request_response import BadRequestResponse from apideck.model.connection import Connection from apideck.model.connection_import_data import ConnectionImportData +from apideck.model.consumer import Consumer from apideck.model.consumer_request_counts_in_date_range_response import ConsumerRequestCountsInDateRangeResponse from apideck.model.create_connection_response import CreateConnectionResponse +from apideck.model.create_consumer_response import CreateConsumerResponse from apideck.model.create_session_response import CreateSessionResponse +from apideck.model.delete_consumer_response import DeleteConsumerResponse from apideck.model.get_connection_response import GetConnectionResponse from apideck.model.get_connections_response import GetConnectionsResponse from apideck.model.get_consumer_response import GetConsumerResponse @@ -40,6 +43,8 @@ from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.update_connection_response import UpdateConnectionResponse +from apideck.model.update_consumer_request import UpdateConsumerRequest +from apideck.model.update_consumer_response import UpdateConsumerResponse class VaultApi(object): @@ -620,6 +625,63 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.consumers_add_endpoint = _Endpoint( + settings={ + 'response_type': (CreateConsumerResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/vault/consumers', + 'operation_id': 'consumers_add', + 'http_method': 'POST', + 'servers': None, + }, + params_map={ + 'all': [ + 'consumer', + 'app_id', + ], + 'required': [ + 'consumer', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'consumer': + (Consumer,), + 'app_id': + (str,), + }, + 'attribute_map': { + 'app_id': 'x-apideck-app-id', + }, + 'location_map': { + 'consumer': 'body', + 'app_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.consumers_all_endpoint = _Endpoint( settings={ 'response_type': (GetConsumersResponse,), @@ -686,6 +748,62 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.consumers_delete_endpoint = _Endpoint( + settings={ + 'response_type': (DeleteConsumerResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/vault/consumers/{consumer_id}', + 'operation_id': 'consumers_delete', + 'http_method': 'DELETE', + 'servers': None, + }, + params_map={ + 'all': [ + 'consumer_id', + 'app_id', + ], + 'required': [ + 'consumer_id', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'consumer_id': + (str,), + 'app_id': + (str,), + }, + 'attribute_map': { + 'consumer_id': 'consumer_id', + 'app_id': 'x-apideck-app-id', + }, + 'location_map': { + 'consumer_id': 'path', + 'app_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [], + }, + api_client=api_client + ) self.consumers_one_endpoint = _Endpoint( settings={ 'response_type': (GetConsumerResponse,), @@ -742,6 +860,69 @@ def __init__(self, api_client=None): }, api_client=api_client ) + self.consumers_update_endpoint = _Endpoint( + settings={ + 'response_type': (UpdateConsumerResponse,), + 'auth': [ + 'apiKey' + ], + 'endpoint_path': '/vault/consumers/{consumer_id}', + 'operation_id': 'consumers_update', + 'http_method': 'PATCH', + 'servers': None, + }, + params_map={ + 'all': [ + 'consumer_id', + 'update_consumer_request', + 'app_id', + ], + 'required': [ + 'consumer_id', + 'update_consumer_request', + ], + 'nullable': [ + ], + 'enum': [ + ], + 'validation': [ + ] + }, + root_map={ + 'validations': { + }, + 'allowed_values': { + }, + 'openapi_types': { + 'consumer_id': + (str,), + 'update_consumer_request': + (UpdateConsumerRequest,), + 'app_id': + (str,), + }, + 'attribute_map': { + 'consumer_id': 'consumer_id', + 'app_id': 'x-apideck-app-id', + }, + 'location_map': { + 'consumer_id': 'path', + 'update_consumer_request': 'body', + 'app_id': 'header', + }, + 'collection_format_map': { + } + }, + headers_map={ + 'accept': [ + 'application/json' + ], + 'content_type': [ + 'application/json' + ] + }, + api_client=api_client + ) self.logs_all_endpoint = _Endpoint( settings={ 'response_type': (GetLogsResponse,), @@ -1567,6 +1748,85 @@ def consumer_request_counts_all( end_datetime return self.consumer_request_counts_all_endpoint.call_with_http_info(**kwargs) + def consumers_add( + self, + consumer, + **kwargs + ): + """Create consumer # noqa: E501 + + Create a consumer # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.consumers_add(consumer, async_req=True) + >>> result = thread.get() + + Args: + consumer (Consumer): + + Keyword Args: + app_id (str): The ID of your Unify application. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + CreateConsumerResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['consumer'] = \ + consumer + return self.consumers_add_endpoint.call_with_http_info(**kwargs) + def consumers_all( self, **kwargs @@ -1584,7 +1844,7 @@ def consumers_all( Keyword Args: app_id (str): The ID of your Unify application. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1643,6 +1903,85 @@ def consumers_all( kwargs['_host_index'] = kwargs.get('_host_index') return self.consumers_all_endpoint.call_with_http_info(**kwargs) + def consumers_delete( + self, + consumer_id, + **kwargs + ): + """Delete consumer # noqa: E501 + + Delete consumer and all their connections, including credentials. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.consumers_delete(consumer_id, async_req=True) + >>> result = thread.get() + + Args: + consumer_id (str): ID of the consumer to return + + Keyword Args: + app_id (str): The ID of your Unify application. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + DeleteConsumerResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['consumer_id'] = \ + consumer_id + return self.consumers_delete_endpoint.call_with_http_info(**kwargs) + def consumers_one( self, consumer_id, @@ -1722,6 +2061,89 @@ def consumers_one( consumer_id return self.consumers_one_endpoint.call_with_http_info(**kwargs) + def consumers_update( + self, + consumer_id, + update_consumer_request, + **kwargs + ): + """Update consumer # noqa: E501 + + Update consumer metadata such as name and email. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.consumers_update(consumer_id, update_consumer_request, async_req=True) + >>> result = thread.get() + + Args: + consumer_id (str): ID of the consumer to return + update_consumer_request (UpdateConsumerRequest): + + Keyword Args: + app_id (str): The ID of your Unify application. [optional] + _return_http_data_only (bool): response data without head status + code and headers. Default is True. + _preload_content (bool): if False, the urllib3.HTTPResponse object + will be returned without reading/decoding response data. + Default is True. + _request_timeout (int/float/tuple): timeout setting for this request. If + one number provided, it will be total request timeout. It can also + be a pair (tuple) of (connection, read) timeouts. + Default is None. + _check_input_type (bool): specifies if type checking + should be done one the data sent to the server. + Default is True. + _check_return_type (bool): specifies if type checking + should be done one the data received from the server. + Default is True. + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _content_type (str/None): force body content-type. + Default is None and content-type will be predicted by allowed + content-types and body. + _host_index (int/None): specifies the index of the server + that we want to use. + Default is read from the configuration. + async_req (bool): execute request asynchronously + + Returns: + UpdateConsumerResponse + If the method is called asynchronously, returns the request + thread. + """ + kwargs['async_req'] = kwargs.get( + 'async_req', False + ) + kwargs['_return_http_data_only'] = kwargs.get( + '_return_http_data_only', True + ) + kwargs['_preload_content'] = kwargs.get( + '_preload_content', True + ) + kwargs['_request_timeout'] = kwargs.get( + '_request_timeout', None + ) + kwargs['_check_input_type'] = kwargs.get( + '_check_input_type', True + ) + kwargs['_check_return_type'] = kwargs.get( + '_check_return_type', True + ) + kwargs['_spec_property_naming'] = kwargs.get( + '_spec_property_naming', False + ) + kwargs['_content_type'] = kwargs.get( + '_content_type') + kwargs['_host_index'] = kwargs.get('_host_index') + kwargs['consumer_id'] = \ + consumer_id + kwargs['update_consumer_request'] = \ + update_consumer_request + return self.consumers_update_endpoint.call_with_http_info(**kwargs) + def logs_all( self, **kwargs @@ -1741,7 +2163,7 @@ def logs_all( consumer_id (str): ID of the consumer which you want to get or push data from. [optional] filter (LogsFilter): Filter results. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object @@ -1806,7 +2228,7 @@ def sessions_create( ): """Create Session # noqa: E501 - Making a POST request to this endpoint will initiate a Hosted Vault session. Redirect the consumer to the returned url to allow temporary access to manage their integrations and settings. Note: This is a short lived token that will expire after 1 hour (TTL: 3600). # noqa: E501 + Making a POST request to this endpoint will initiate a Hosted Vault session. Redirect the consumer to the returned URL to allow temporary access to manage their integrations and settings. Note: This is a short lived token that will expire after 1 hour (TTL: 3600). # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/src/apideck/api/webhook_api.py b/src/apideck/api/webhook_api.py index 81a3766c5..f03594a96 100644 --- a/src/apideck/api/webhook_api.py +++ b/src/apideck/api/webhook_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -436,7 +436,7 @@ def event_logs_all( Keyword Args: app_id (str): The ID of your Unify application. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 filter (WebhookEventLogsFilter): Filter results. [optional] _return_http_data_only (bool): response data without head status code and headers. Default is True. @@ -592,7 +592,7 @@ def webhooks_all( Keyword Args: app_id (str): The ID of your Unify application. [optional] cursor (str, none_type): Cursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.. [optional] - limit (int): Number of records to return. [optional] if omitted the server will use the default value of 20 + limit (int): Number of results to return. Minimum 1, Maximum 200, Default 20. [optional] if omitted the server will use the default value of 20 _return_http_data_only (bool): response data without head status code and headers. Default is True. _preload_content (bool): if False, the urllib3.HTTPResponse object diff --git a/src/apideck/api_client.py b/src/apideck/api_client.py index e1216ddd3..9911a371c 100644 --- a/src/apideck/api_client.py +++ b/src/apideck/api_client.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -76,7 +76,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'OpenAPI-Generator/0.0.2/python' + self.user_agent = 'OpenAPI-Generator/0.0.3/python' def __enter__(self): return self diff --git a/src/apideck/apis/__init__.py b/src/apideck/apis/__init__.py index 5426b5908..c72a94a44 100644 --- a/src/apideck/apis/__init__.py +++ b/src/apideck/apis/__init__.py @@ -19,8 +19,10 @@ from apideck.api.connector_api import ConnectorApi from apideck.api.crm_api import CrmApi from apideck.api.customer_support_api import CustomerSupportApi +from apideck.api.ecommerce_api import EcommerceApi from apideck.api.file_storage_api import FileStorageApi from apideck.api.hris_api import HrisApi +from apideck.api.issue_tracking_api import IssueTrackingApi from apideck.api.lead_api import LeadApi from apideck.api.pos_api import PosApi from apideck.api.sms_api import SmsApi diff --git a/src/apideck/configuration.py b/src/apideck/configuration.py index b72735590..a30be8115 100644 --- a/src/apideck/configuration.py +++ b/src/apideck/configuration.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -426,8 +426,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 8.85.1\n"\ - "SDK Package Version: 0.0.2".\ + "Version of the API: 9.1.5\n"\ + "SDK Package Version: 0.0.3".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/src/apideck/exceptions.py b/src/apideck/exceptions.py index 7e9509ccd..a8d23e511 100644 --- a/src/apideck/exceptions.py +++ b/src/apideck/exceptions.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/accounting_customer.py b/src/apideck/model/accounting_customer.py index dccd5578b..28dcf0811 100644 --- a/src/apideck/model/accounting_customer.py +++ b/src/apideck/model/accounting_customer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -34,6 +34,8 @@ def lazy_import(): from apideck.model.bank_account import BankAccount from apideck.model.currency import Currency from apideck.model.email import Email + from apideck.model.linked_ledger_account import LinkedLedgerAccount + from apideck.model.linked_parent_customer import LinkedParentCustomer from apideck.model.linked_tax_rate import LinkedTaxRate from apideck.model.phone_number import PhoneNumber from apideck.model.website import Website @@ -41,6 +43,8 @@ def lazy_import(): globals()['BankAccount'] = BankAccount globals()['Currency'] = Currency globals()['Email'] = Email + globals()['LinkedLedgerAccount'] = LinkedLedgerAccount + globals()['LinkedParentCustomer'] = LinkedParentCustomer globals()['LinkedTaxRate'] = LinkedTaxRate globals()['PhoneNumber'] = PhoneNumber globals()['Website'] = Website @@ -84,14 +88,7 @@ class AccountingCustomer(ModelNormal): validations = { } - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + additional_properties_type = None _nullable = False @@ -108,6 +105,7 @@ def openapi_types(): lazy_import() return { 'id': (str,), # noqa: E501 + 'downstream_id': (str, none_type,), # noqa: E501 'display_id': (str, none_type,), # noqa: E501 'display_name': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 @@ -117,21 +115,24 @@ def openapi_types(): 'last_name': (str, none_type,), # noqa: E501 'suffix': (str, none_type,), # noqa: E501 'individual': (bool, none_type,), # noqa: E501 + 'project': (bool, none_type,), # noqa: E501 'addresses': ([Address],), # noqa: E501 - 'notes': (str, none_type,), # noqa: E501 'phone_numbers': ([PhoneNumber],), # noqa: E501 'emails': ([Email],), # noqa: E501 'websites': ([Website],), # noqa: E501 + 'bank_accounts': ([BankAccount],), # noqa: E501 + 'notes': (str, none_type,), # noqa: E501 'tax_rate': (LinkedTaxRate,), # noqa: E501 'tax_number': (str, none_type,), # noqa: E501 'currency': (Currency,), # noqa: E501 - 'bank_accounts': ([BankAccount],), # noqa: E501 + 'account': (LinkedLedgerAccount,), # noqa: E501 + 'parent': (LinkedParentCustomer,), # noqa: E501 'status': (str, none_type,), # noqa: E501 - 'row_version': (str, none_type,), # noqa: E501 'updated_by': (str, none_type,), # noqa: E501 'created_by': (str, none_type,), # noqa: E501 'updated_at': (datetime, none_type,), # noqa: E501 'created_at': (datetime,), # noqa: E501 + 'row_version': (str, none_type,), # noqa: E501 } @cached_property @@ -141,6 +142,7 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 + 'downstream_id': 'downstream_id', # noqa: E501 'display_id': 'display_id', # noqa: E501 'display_name': 'display_name', # noqa: E501 'company_name': 'company_name', # noqa: E501 @@ -150,25 +152,29 @@ def discriminator(): 'last_name': 'last_name', # noqa: E501 'suffix': 'suffix', # noqa: E501 'individual': 'individual', # noqa: E501 + 'project': 'project', # noqa: E501 'addresses': 'addresses', # noqa: E501 - 'notes': 'notes', # noqa: E501 'phone_numbers': 'phone_numbers', # noqa: E501 'emails': 'emails', # noqa: E501 'websites': 'websites', # noqa: E501 + 'bank_accounts': 'bank_accounts', # noqa: E501 + 'notes': 'notes', # noqa: E501 'tax_rate': 'tax_rate', # noqa: E501 'tax_number': 'tax_number', # noqa: E501 'currency': 'currency', # noqa: E501 - 'bank_accounts': 'bank_accounts', # noqa: E501 + 'account': 'account', # noqa: E501 + 'parent': 'parent', # noqa: E501 'status': 'status', # noqa: E501 - 'row_version': 'row_version', # noqa: E501 'updated_by': 'updated_by', # noqa: E501 'created_by': 'created_by', # noqa: E501 'updated_at': 'updated_at', # noqa: E501 'created_at': 'created_at', # noqa: E501 + 'row_version': 'row_version', # noqa: E501 } read_only_vars = { 'id', # noqa: E501 + 'downstream_id', # noqa: E501 'updated_by', # noqa: E501 'created_by', # noqa: E501 'updated_at', # noqa: E501 @@ -179,9 +185,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 """AccountingCustomer - a model defined in OpenAPI + Args: + id (str): A unique identifier for an object. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -213,31 +222,34 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 display_id (str, none_type): Display ID. [optional] # noqa: E501 - display_name (str, none_type): Display Name. [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + display_name (str, none_type): Display name. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 suffix (str, none_type): [optional] # noqa: E501 individual (bool, none_type): Is this an individual or business customer. [optional] # noqa: E501 + project (bool, none_type): If true, indicates this is a Project.. [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 - notes (str, none_type): Some notes about this customer. [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 websites ([Website]): [optional] # noqa: E501 + bank_accounts ([BankAccount]): [optional] # noqa: E501 + notes (str, none_type): Some notes about this customer. [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 tax_number (str, none_type): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - bank_accounts ([BankAccount]): [optional] # noqa: E501 + account (LinkedLedgerAccount): [optional] # noqa: E501 + parent (LinkedParentCustomer): [optional] # noqa: E501 status (str, none_type): Customer status. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -265,6 +277,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.id = id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -319,31 +332,34 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 display_id (str, none_type): Display ID. [optional] # noqa: E501 - display_name (str, none_type): Display Name. [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + display_name (str, none_type): Display name. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 suffix (str, none_type): [optional] # noqa: E501 individual (bool, none_type): Is this an individual or business customer. [optional] # noqa: E501 + project (bool, none_type): If true, indicates this is a Project.. [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 - notes (str, none_type): Some notes about this customer. [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 websites ([Website]): [optional] # noqa: E501 + bank_accounts ([BankAccount]): [optional] # noqa: E501 + notes (str, none_type): Some notes about this customer. [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 tax_number (str, none_type): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - bank_accounts ([BankAccount]): [optional] # noqa: E501 + account (LinkedLedgerAccount): [optional] # noqa: E501 + parent (LinkedParentCustomer): [optional] # noqa: E501 status (str, none_type): Customer status. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/accounting_event_type.py b/src/apideck/model/accounting_event_type.py index 903240473..18f338652 100644 --- a/src/apideck/model/accounting_event_type.py +++ b/src/apideck/model/accounting_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/activities_filter.py b/src/apideck/model/activities_filter.py new file mode 100644 index 000000000..fbed3520f --- /dev/null +++ b/src/apideck/model/activities_filter.py @@ -0,0 +1,249 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class ActivitiesFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'updated_since': (datetime,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'updated_since': 'updated_since', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """ActivitiesFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + updated_since (datetime): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """ActivitiesFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + updated_since (datetime): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/activity.py b/src/apideck/model/activity.py index f362a8781..014b9cc3d 100644 --- a/src/apideck/model/activity.py +++ b/src/apideck/model/activity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/activity_attendee.py b/src/apideck/model/activity_attendee.py index fa0939870..3d0ac3c3a 100644 --- a/src/apideck/model/activity_attendee.py +++ b/src/apideck/model/activity_attendee.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/address.py b/src/apideck/model/address.py index 58760d110..a0b152a81 100644 --- a/src/apideck/model/address.py +++ b/src/apideck/model/address.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -203,7 +203,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 fax (str, none_type): [optional] # noqa: E501 email (str, none_type): [optional] # noqa: E501 website (str, none_type): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -307,7 +307,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 fax (str, none_type): [optional] # noqa: E501 email (str, none_type): [optional] # noqa: E501 website (str, none_type): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/api.py b/src/apideck/model/api.py index 93e830628..e27fa01bf 100644 --- a/src/apideck/model/api.py +++ b/src/apideck/model/api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/api_resource.py b/src/apideck/model/api_resource.py index bbfa39801..9f3a377dd 100644 --- a/src/apideck/model/api_resource.py +++ b/src/apideck/model/api_resource.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/api_resource_coverage.py b/src/apideck/model/api_resource_coverage.py index add2197ab..88beea773 100644 --- a/src/apideck/model/api_resource_coverage.py +++ b/src/apideck/model/api_resource_coverage.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/api_resource_coverage_coverage.py b/src/apideck/model/api_resource_coverage_coverage.py index d17ca4907..fc3223cf3 100644 --- a/src/apideck/model/api_resource_coverage_coverage.py +++ b/src/apideck/model/api_resource_coverage_coverage.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/api_resource_linked_resources.py b/src/apideck/model/api_resource_linked_resources.py index 6f8b6d324..bb86b16fc 100644 --- a/src/apideck/model/api_resource_linked_resources.py +++ b/src/apideck/model/api_resource_linked_resources.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/api_resources.py b/src/apideck/model/api_resources.py index a0a530675..72665df30 100644 --- a/src/apideck/model/api_resources.py +++ b/src/apideck/model/api_resources.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/api_status.py b/src/apideck/model/api_status.py index f8e9e64c8..42ad066b6 100644 --- a/src/apideck/model/api_status.py +++ b/src/apideck/model/api_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/apis_filter.py b/src/apideck/model/apis_filter.py index 163cae355..10e013fcb 100644 --- a/src/apideck/model/apis_filter.py +++ b/src/apideck/model/apis_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/applicant.py b/src/apideck/model/applicant.py index 3d29296fe..f1d00800e 100644 --- a/src/apideck/model/applicant.py +++ b/src/apideck/model/applicant.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -242,19 +242,19 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 position_id (str): The PositionId the applicant applied for.. [optional] # noqa: E501 name (str): The name of an applicant.. [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - initials (str, none_type): [optional] # noqa: E501 - birthday (date, none_type): [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + initials (str, none_type): The initials of the person, usually derived from their first, middle, and last names.. [optional] # noqa: E501 + birthday (date, none_type): The date of birth of the person.. [optional] # noqa: E501 cover_letter (str): [optional] # noqa: E501 job_url (str, none_type): [optional] # noqa: E501 - photo_url (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 headline (str): Typically a list of previous companies where the contact has worked or schools that the contact has attended. [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 custom_fields ([CustomField]): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 @@ -279,12 +279,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 record_url (str, none_type): [optional] # noqa: E501 rejected_at (datetime, none_type): [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - deleted_by (str, none_type): [optional] # noqa: E501 - deleted_at (datetime, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + deleted_by (str, none_type): The user who deleted the object.. [optional] # noqa: E501 + deleted_at (datetime, none_type): The time at which the object was deleted.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -366,19 +366,19 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 position_id (str): The PositionId the applicant applied for.. [optional] # noqa: E501 name (str): The name of an applicant.. [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - initials (str, none_type): [optional] # noqa: E501 - birthday (date, none_type): [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + initials (str, none_type): The initials of the person, usually derived from their first, middle, and last names.. [optional] # noqa: E501 + birthday (date, none_type): The date of birth of the person.. [optional] # noqa: E501 cover_letter (str): [optional] # noqa: E501 job_url (str, none_type): [optional] # noqa: E501 - photo_url (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 headline (str): Typically a list of previous companies where the contact has worked or schools that the contact has attended. [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 custom_fields ([CustomField]): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 @@ -403,12 +403,12 @@ def __init__(self, *args, **kwargs): # noqa: E501 record_url (str, none_type): [optional] # noqa: E501 rejected_at (datetime, none_type): [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - deleted_by (str, none_type): [optional] # noqa: E501 - deleted_at (datetime, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + deleted_by (str, none_type): The user who deleted the object.. [optional] # noqa: E501 + deleted_at (datetime, none_type): The time at which the object was deleted.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/applicant_social_links.py b/src/apideck/model/applicant_social_links.py index a48e4aa4d..c074bc2ee 100644 --- a/src/apideck/model/applicant_social_links.py +++ b/src/apideck/model/applicant_social_links.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/applicant_websites.py b/src/apideck/model/applicant_websites.py index f73a76a94..7a63575d7 100644 --- a/src/apideck/model/applicant_websites.py +++ b/src/apideck/model/applicant_websites.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/applicants_filter.py b/src/apideck/model/applicants_filter.py index c2ea7bb97..e30088d90 100644 --- a/src/apideck/model/applicants_filter.py +++ b/src/apideck/model/applicants_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/assignee.py b/src/apideck/model/assignee.py new file mode 100644 index 000000000..af9bf9761 --- /dev/null +++ b/src/apideck/model/assignee.py @@ -0,0 +1,260 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class Assignee(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'username': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'username': 'username', # noqa: E501 + } + + read_only_vars = { + 'username', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """Assignee - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + username (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """Assignee - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + username (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ats_activity.py b/src/apideck/model/ats_activity.py index dbc400d2e..d35324d60 100644 --- a/src/apideck/model/ats_activity.py +++ b/src/apideck/model/ats_activity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -141,11 +141,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -227,11 +227,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/ats_event_type.py b/src/apideck/model/ats_event_type.py index 692cfb72b..d1950efd1 100644 --- a/src/apideck/model/ats_event_type.py +++ b/src/apideck/model/ats_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/auth_type.py b/src/apideck/model/auth_type.py index bcea3087e..4457af06c 100644 --- a/src/apideck/model/auth_type.py +++ b/src/apideck/model/auth_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/bad_request_response.py b/src/apideck/model/bad_request_response.py index 093ed14a5..32bed9e47 100644 --- a/src/apideck/model/bad_request_response.py +++ b/src/apideck/model/bad_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/balance_sheet.py b/src/apideck/model/balance_sheet.py index f1dedfde2..fdc38cca9 100644 --- a/src/apideck/model/balance_sheet.py +++ b/src/apideck/model/balance_sheet.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -179,12 +179,12 @@ def _from_openapi_data(cls, report_name, start_date, assets, liabilities, equity Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 end_date (str): The start date of the report. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -278,12 +278,12 @@ def __init__(self, report_name, start_date, assets, liabilities, equity, *args, Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 end_date (str): The start date of the report. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/balance_sheet_assets.py b/src/apideck/model/balance_sheet_assets.py index 44df4c338..67b49c649 100644 --- a/src/apideck/model/balance_sheet_assets.py +++ b/src/apideck/model/balance_sheet_assets.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/balance_sheet_assets_current_assets.py b/src/apideck/model/balance_sheet_assets_current_assets.py index e43979454..bba3e04cf 100644 --- a/src/apideck/model/balance_sheet_assets_current_assets.py +++ b/src/apideck/model/balance_sheet_assets_current_assets.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/balance_sheet_assets_current_assets_accounts.py b/src/apideck/model/balance_sheet_assets_current_assets_accounts.py index 480c6621f..784308b4b 100644 --- a/src/apideck/model/balance_sheet_assets_current_assets_accounts.py +++ b/src/apideck/model/balance_sheet_assets_current_assets_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -139,7 +139,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the current asset account. [optional] # noqa: E501 value (float): The value of the current asset. [optional] # noqa: E501 """ @@ -223,7 +223,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the current asset account. [optional] # noqa: E501 value (float): The value of the current asset. [optional] # noqa: E501 """ diff --git a/src/apideck/model/balance_sheet_assets_fixed_assets.py b/src/apideck/model/balance_sheet_assets_fixed_assets.py index 184c19c67..4fe7b9eae 100644 --- a/src/apideck/model/balance_sheet_assets_fixed_assets.py +++ b/src/apideck/model/balance_sheet_assets_fixed_assets.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/balance_sheet_assets_fixed_assets_accounts.py b/src/apideck/model/balance_sheet_assets_fixed_assets_accounts.py index c8993c5a1..365ac90bf 100644 --- a/src/apideck/model/balance_sheet_assets_fixed_assets_accounts.py +++ b/src/apideck/model/balance_sheet_assets_fixed_assets_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -139,7 +139,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the fixed asset account. [optional] # noqa: E501 value (float): The value of the fixed asset. [optional] # noqa: E501 """ @@ -223,7 +223,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the fixed asset account. [optional] # noqa: E501 value (float): The value of the fixed asset. [optional] # noqa: E501 """ diff --git a/src/apideck/model/balance_sheet_equity.py b/src/apideck/model/balance_sheet_equity.py index ee8ef62c1..c2f0e3def 100644 --- a/src/apideck/model/balance_sheet_equity.py +++ b/src/apideck/model/balance_sheet_equity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/balance_sheet_equity_items.py b/src/apideck/model/balance_sheet_equity_items.py index ae5e81087..c42a56776 100644 --- a/src/apideck/model/balance_sheet_equity_items.py +++ b/src/apideck/model/balance_sheet_equity_items.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -139,7 +139,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The type of the equity. [optional] # noqa: E501 value (float): The equity amount. [optional] # noqa: E501 """ @@ -223,7 +223,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The type of the equity. [optional] # noqa: E501 value (float): The equity amount. [optional] # noqa: E501 """ diff --git a/src/apideck/model/balance_sheet_filter.py b/src/apideck/model/balance_sheet_filter.py index 7a85f58ea..0288b8715 100644 --- a/src/apideck/model/balance_sheet_filter.py +++ b/src/apideck/model/balance_sheet_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/balance_sheet_liabilities.py b/src/apideck/model/balance_sheet_liabilities.py index 292adf615..a2c57b1ac 100644 --- a/src/apideck/model/balance_sheet_liabilities.py +++ b/src/apideck/model/balance_sheet_liabilities.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/balance_sheet_liabilities_accounts.py b/src/apideck/model/balance_sheet_liabilities_accounts.py index e4b222a59..65a8accb5 100644 --- a/src/apideck/model/balance_sheet_liabilities_accounts.py +++ b/src/apideck/model/balance_sheet_liabilities_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -139,7 +139,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the liability account. [optional] # noqa: E501 value (float): The value of the liability. [optional] # noqa: E501 """ @@ -223,7 +223,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the liability account. [optional] # noqa: E501 value (float): The value of the liability. [optional] # noqa: E501 """ diff --git a/src/apideck/model/bank_account.py b/src/apideck/model/bank_account.py index bd100602d..17871e482 100644 --- a/src/apideck/model/bank_account.py +++ b/src/apideck/model/bank_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -86,14 +86,14 @@ def openapi_types(): """ lazy_import() return { + 'account_number': (str, none_type,), # noqa: E501 + 'account_name': (str, none_type,), # noqa: E501 + 'account_type': (str, none_type,), # noqa: E501 'iban': (str, none_type,), # noqa: E501 'bic': (str, none_type,), # noqa: E501 'bsb_number': (str, none_type,), # noqa: E501 'branch_identifier': (str, none_type,), # noqa: E501 'bank_code': (str, none_type,), # noqa: E501 - 'account_number': (str, none_type,), # noqa: E501 - 'account_name': (str, none_type,), # noqa: E501 - 'account_type': (str, none_type,), # noqa: E501 'currency': (Currency,), # noqa: E501 } @@ -103,14 +103,14 @@ def discriminator(): attribute_map = { + 'account_number': 'account_number', # noqa: E501 + 'account_name': 'account_name', # noqa: E501 + 'account_type': 'account_type', # noqa: E501 'iban': 'iban', # noqa: E501 'bic': 'bic', # noqa: E501 'bsb_number': 'bsb_number', # noqa: E501 'branch_identifier': 'branch_identifier', # noqa: E501 'bank_code': 'bank_code', # noqa: E501 - 'account_number': 'account_number', # noqa: E501 - 'account_name': 'account_name', # noqa: E501 - 'account_type': 'account_type', # noqa: E501 'currency': 'currency', # noqa: E501 } @@ -155,14 +155,14 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + account_number (str, none_type): A bank account number is a number that is tied to your bank account. If you have several bank accounts, such as personal, joint, business (and so on), each account will have a different account number.. [optional] # noqa: E501 + account_name (str, none_type): The name which you used in opening your bank account.. [optional] # noqa: E501 + account_type (str, none_type): The type of bank account.. [optional] # noqa: E501 iban (str, none_type): [optional] # noqa: E501 bic (str, none_type): [optional] # noqa: E501 bsb_number (str, none_type): A BSB is a 6 digit numeric code used for identifying the branch of an Australian or New Zealand bank or financial institution.. [optional] # noqa: E501 branch_identifier (str, none_type): A branch identifier is a unique identifier for a branch of a bank or financial institution.. [optional] # noqa: E501 bank_code (str, none_type): A bank code is a code assigned by a central bank, a bank supervisory body or a Bankers Association in a country to all its licensed member banks or financial institutions.. [optional] # noqa: E501 - account_number (str, none_type): A bank account number is a number that is tied to your bank account. If you have several bank accounts, such as personal, joint, business (and so on), each account will have a different account number.. [optional] # noqa: E501 - account_name (str, none_type): The name which you used in opening your bank account.. [optional] # noqa: E501 - account_type (str, none_type): The type of bank account.. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 """ @@ -245,14 +245,14 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + account_number (str, none_type): A bank account number is a number that is tied to your bank account. If you have several bank accounts, such as personal, joint, business (and so on), each account will have a different account number.. [optional] # noqa: E501 + account_name (str, none_type): The name which you used in opening your bank account.. [optional] # noqa: E501 + account_type (str, none_type): The type of bank account.. [optional] # noqa: E501 iban (str, none_type): [optional] # noqa: E501 bic (str, none_type): [optional] # noqa: E501 bsb_number (str, none_type): A BSB is a 6 digit numeric code used for identifying the branch of an Australian or New Zealand bank or financial institution.. [optional] # noqa: E501 branch_identifier (str, none_type): A branch identifier is a unique identifier for a branch of a bank or financial institution.. [optional] # noqa: E501 bank_code (str, none_type): A bank code is a code assigned by a central bank, a bank supervisory body or a Bankers Association in a country to all its licensed member banks or financial institutions.. [optional] # noqa: E501 - account_number (str, none_type): A bank account number is a number that is tied to your bank account. If you have several bank accounts, such as personal, joint, business (and so on), each account will have a different account number.. [optional] # noqa: E501 - account_name (str, none_type): The name which you used in opening your bank account.. [optional] # noqa: E501 - account_type (str, none_type): The type of bank account.. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 """ diff --git a/src/apideck/model/benefit.py b/src/apideck/model/benefit.py index b9872a92b..031f6edd9 100644 --- a/src/apideck/model/benefit.py +++ b/src/apideck/model/benefit.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/bill.py b/src/apideck/model/bill.py index 23a68dd62..c5a6c86e6 100644 --- a/src/apideck/model/bill.py +++ b/src/apideck/model/bill.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -99,6 +99,7 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'downstream_id': (str, none_type,), # noqa: E501 + 'bill_number': (str, none_type,), # noqa: E501 'supplier': (LinkedSupplier,), # noqa: E501 'currency': (Currency,), # noqa: E501 'currency_rate': (float, none_type,), # noqa: E501 @@ -119,7 +120,6 @@ def openapi_types(): 'notes': (str, none_type,), # noqa: E501 'status': (str, none_type,), # noqa: E501 'ledger_account': (LinkedLedgerAccount,), # noqa: E501 - 'bill_number': (str, none_type,), # noqa: E501 'updated_by': (str, none_type,), # noqa: E501 'created_by': (str, none_type,), # noqa: E501 'updated_at': (datetime, none_type,), # noqa: E501 @@ -135,6 +135,7 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'downstream_id': 'downstream_id', # noqa: E501 + 'bill_number': 'bill_number', # noqa: E501 'supplier': 'supplier', # noqa: E501 'currency': 'currency', # noqa: E501 'currency_rate': 'currency_rate', # noqa: E501 @@ -155,7 +156,6 @@ def discriminator(): 'notes': 'notes', # noqa: E501 'status': 'status', # noqa: E501 'ledger_account': 'ledger_account', # noqa: E501 - 'bill_number': 'bill_number', # noqa: E501 'updated_by': 'updated_by', # noqa: E501 'created_by': 'created_by', # noqa: E501 'updated_at': 'updated_at', # noqa: E501 @@ -210,8 +210,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 + bill_number (str, none_type): [optional] # noqa: E501 supplier (LinkedSupplier): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 currency_rate (float, none_type): Currency Exchange Rate at the time entity was recorded/generated.. [optional] # noqa: E501 @@ -220,7 +221,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 due_date (date): The due date is the date on which a payment is scheduled to be received by the supplier - YYYY-MM-DD.. [optional] # noqa: E501 paid_date (date, none_type): The paid date is the date on which a payment was sent to the supplier - YYYY-MM-DD.. [optional] # noqa: E501 po_number (str, none_type): A PO Number uniquely identifies a purchase order and is generally defined by the buyer. The buyer will match the PO number in the invoice to the Purchase Order.. [optional] # noqa: E501 - reference (str, none_type): Optional invoice reference.. [optional] # noqa: E501 + reference (str, none_type): Optional bill reference.. [optional] # noqa: E501 line_items ([BillLineItem]): [optional] # noqa: E501 terms (str, none_type): Terms of payment.. [optional] # noqa: E501 balance (float, none_type): Balance of bill due.. [optional] # noqa: E501 @@ -232,12 +233,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 notes (str, none_type): [optional] # noqa: E501 status (str, none_type): Invoice status. [optional] # noqa: E501 ledger_account (LinkedLedgerAccount): [optional] # noqa: E501 - bill_number (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -319,8 +319,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 + bill_number (str, none_type): [optional] # noqa: E501 supplier (LinkedSupplier): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 currency_rate (float, none_type): Currency Exchange Rate at the time entity was recorded/generated.. [optional] # noqa: E501 @@ -329,7 +330,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 due_date (date): The due date is the date on which a payment is scheduled to be received by the supplier - YYYY-MM-DD.. [optional] # noqa: E501 paid_date (date, none_type): The paid date is the date on which a payment was sent to the supplier - YYYY-MM-DD.. [optional] # noqa: E501 po_number (str, none_type): A PO Number uniquely identifies a purchase order and is generally defined by the buyer. The buyer will match the PO number in the invoice to the Purchase Order.. [optional] # noqa: E501 - reference (str, none_type): Optional invoice reference.. [optional] # noqa: E501 + reference (str, none_type): Optional bill reference.. [optional] # noqa: E501 line_items ([BillLineItem]): [optional] # noqa: E501 terms (str, none_type): Terms of payment.. [optional] # noqa: E501 balance (float, none_type): Balance of bill due.. [optional] # noqa: E501 @@ -341,12 +342,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 notes (str, none_type): [optional] # noqa: E501 status (str, none_type): Invoice status. [optional] # noqa: E501 ledger_account (LinkedLedgerAccount): [optional] # noqa: E501 - bill_number (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/bill_line_item.py b/src/apideck/model/bill_line_item.py index aeb0da1ea..92fc0f02e 100644 --- a/src/apideck/model/bill_line_item.py +++ b/src/apideck/model/bill_line_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -189,7 +189,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 row_id (str): Row ID. [optional] # noqa: E501 code (str, none_type): User defined item code. [optional] # noqa: E501 line_number (int, none_type): Line number in the invoice. [optional] # noqa: E501 @@ -206,11 +206,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 item (LinkedInvoiceItem): [optional] # noqa: E501 ledger_account (LinkedLedgerAccount): [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -292,7 +292,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 row_id (str): Row ID. [optional] # noqa: E501 code (str, none_type): User defined item code. [optional] # noqa: E501 line_number (int, none_type): Line number in the invoice. [optional] # noqa: E501 @@ -309,11 +309,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 item (LinkedInvoiceItem): [optional] # noqa: E501 ledger_account (LinkedLedgerAccount): [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/bills_sort.py b/src/apideck/model/bills_sort.py new file mode 100644 index 000000000..5c0e69aea --- /dev/null +++ b/src/apideck/model/bills_sort.py @@ -0,0 +1,261 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.sort_direction import SortDirection + globals()['SortDirection'] = SortDirection + + +class BillsSort(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('by',): { + 'UPDATED_AT': "updated_at", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'by': (str,), # noqa: E501 + 'direction': (SortDirection,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'by': 'by', # noqa: E501 + 'direction': 'direction', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """BillsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Bills. [optional] if omitted the server will use the default value of "updated_at" # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """BillsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Bills. [optional] if omitted the server will use the default value of "updated_at" # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/branch.py b/src/apideck/model/branch.py index b832de477..fcb7e30a1 100644 --- a/src/apideck/model/branch.py +++ b/src/apideck/model/branch.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -137,7 +137,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): Name of the branch.. [optional] # noqa: E501 """ @@ -220,7 +220,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): Name of the branch.. [optional] # noqa: E501 """ diff --git a/src/apideck/model/cash_details.py b/src/apideck/model/cash_details.py index cfcf91e39..2c1b93ce8 100644 --- a/src/apideck/model/cash_details.py +++ b/src/apideck/model/cash_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/collection.py b/src/apideck/model/collection.py new file mode 100644 index 000000000..a53fe9b0c --- /dev/null +++ b/src/apideck/model/collection.py @@ -0,0 +1,278 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class Collection(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'parent_id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'parent_id': 'parent_id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'name': 'name', # noqa: E501 + 'description': 'description', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'updated_at', # noqa: E501 + 'created_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """Collection - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + parent_id (str): The collections's parent ID. [optional] # noqa: E501 + type (str): The collections's type. [optional] # noqa: E501 + name (str): Name of the collection. [optional] # noqa: E501 + description (str): Description of the collection. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """Collection - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + parent_id (str): The collections's parent ID. [optional] # noqa: E501 + type (str): The collections's type. [optional] # noqa: E501 + name (str): Name of the collection. [optional] # noqa: E501 + description (str): Description of the collection. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/collection_tag.py b/src/apideck/model/collection_tag.py new file mode 100644 index 000000000..9d522b08d --- /dev/null +++ b/src/apideck/model/collection_tag.py @@ -0,0 +1,260 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class CollectionTag(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + } + + read_only_vars = { + 'name', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """CollectionTag - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """CollectionTag - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/collection_ticket_comment.py b/src/apideck/model/collection_ticket_comment.py new file mode 100644 index 000000000..6a5b81a01 --- /dev/null +++ b/src/apideck/model/collection_ticket_comment.py @@ -0,0 +1,269 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class CollectionTicketComment(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'body': (str,), # noqa: E501 + 'created_by': (str, none_type,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'body': 'body', # noqa: E501 + 'created_by': 'created_by', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'created_by', # noqa: E501 + 'updated_at', # noqa: E501 + 'created_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CollectionTicketComment - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + body (str): Body of the comment. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """CollectionTicketComment - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + body (str): Body of the comment. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/collection_user.py b/src/apideck/model/collection_user.py new file mode 100644 index 000000000..bed893432 --- /dev/null +++ b/src/apideck/model/collection_user.py @@ -0,0 +1,280 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class CollectionUser(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'first_name': (str, none_type,), # noqa: E501 + 'last_name': (str, none_type,), # noqa: E501 + 'email': (str, none_type,), # noqa: E501 + 'photo_url': (str, none_type,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'first_name': 'first_name', # noqa: E501 + 'last_name': 'last_name', # noqa: E501 + 'email': 'email', # noqa: E501 + 'photo_url': 'photo_url', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'updated_at', # noqa: E501 + 'created_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CollectionUser - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + name (str): [optional] # noqa: E501 + first_name (str, none_type): [optional] # noqa: E501 + last_name (str, none_type): [optional] # noqa: E501 + email (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """CollectionUser - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + name (str): [optional] # noqa: E501 + first_name (str, none_type): [optional] # noqa: E501 + last_name (str, none_type): [optional] # noqa: E501 + email (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/collections_sort.py b/src/apideck/model/collections_sort.py new file mode 100644 index 000000000..e9b937d51 --- /dev/null +++ b/src/apideck/model/collections_sort.py @@ -0,0 +1,263 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.sort_direction import SortDirection + globals()['SortDirection'] = SortDirection + + +class CollectionsSort(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('by',): { + 'NAME': "name", + 'CREATED_AT': "created_at", + 'UPDATED_AT': "updated_at", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'by': (str,), # noqa: E501 + 'direction': (SortDirection,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'by': 'by', # noqa: E501 + 'direction': 'direction', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CollectionsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Collections. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """CollectionsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Collections. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/comments_sort.py b/src/apideck/model/comments_sort.py new file mode 100644 index 000000000..22e5908ef --- /dev/null +++ b/src/apideck/model/comments_sort.py @@ -0,0 +1,262 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.sort_direction import SortDirection + globals()['SortDirection'] = SortDirection + + +class CommentsSort(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('by',): { + 'CREATED_AT': "created_at", + 'UPDATED_AT': "updated_at", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'by': (str,), # noqa: E501 + 'direction': (SortDirection,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'by': 'by', # noqa: E501 + 'direction': 'direction', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """CommentsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Comments. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """CommentsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Comments. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/companies_filter.py b/src/apideck/model/companies_filter.py index ffcd5b09f..d27f4bcca 100644 --- a/src/apideck/model/companies_filter.py +++ b/src/apideck/model/companies_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/companies_sort.py b/src/apideck/model/companies_sort.py index 2a9991d6a..f9275b05e 100644 --- a/src/apideck/model/companies_sort.py +++ b/src/apideck/model/companies_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/company.py b/src/apideck/model/company.py index 46c1b5233..a13e41299 100644 --- a/src/apideck/model/company.py +++ b/src/apideck/model/company.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -262,8 +262,8 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 abn_or_tfn (str, none_type): An ABN is necessary for operating a business, while a TFN (Tax File Number) is required for any person working in Australia.. [optional] # noqa: E501 abn_branch (str, none_type): An ABN Branch (also known as a GST Branch) is used if part of your business needs to account for GST separately from its parent entity.. [optional] # noqa: E501 acn (str, none_type): The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank.. [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 parent_id (str): Parent ID. [optional] # noqa: E501 bank_accounts ([BankAccount]): [optional] # noqa: E501 websites ([Website]): [optional] # noqa: E501 @@ -277,8 +277,8 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 read_only (bool, none_type): [optional] # noqa: E501 last_activity_at (datetime, none_type): [optional] # noqa: E501 deleted (bool): [optional] # noqa: E501 - salutation (str, none_type): [optional] # noqa: E501 - birthday (date, none_type): [optional] # noqa: E501 + salutation (str, none_type): A formal salutation for the person. For example, 'Mr', 'Mrs'. [optional] # noqa: E501 + birthday (date, none_type): The date of birth of the person.. [optional] # noqa: E501 updated_by (str, none_type): [optional] # noqa: E501 created_by (str, none_type): [optional] # noqa: E501 updated_at (datetime): [optional] # noqa: E501 @@ -386,8 +386,8 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 abn_or_tfn (str, none_type): An ABN is necessary for operating a business, while a TFN (Tax File Number) is required for any person working in Australia.. [optional] # noqa: E501 abn_branch (str, none_type): An ABN Branch (also known as a GST Branch) is used if part of your business needs to account for GST separately from its parent entity.. [optional] # noqa: E501 acn (str, none_type): The Australian Company Number (ACN) is a nine digit number with the last digit being a check digit calculated using a modified modulus 10 calculation. ASIC has adopted a convention of always printing and displaying the ACN in the format XXX XXX XXX; three blocks of three characters, each block separated by a blank.. [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 parent_id (str): Parent ID. [optional] # noqa: E501 bank_accounts ([BankAccount]): [optional] # noqa: E501 websites ([Website]): [optional] # noqa: E501 @@ -401,8 +401,8 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 read_only (bool, none_type): [optional] # noqa: E501 last_activity_at (datetime, none_type): [optional] # noqa: E501 deleted (bool): [optional] # noqa: E501 - salutation (str, none_type): [optional] # noqa: E501 - birthday (date, none_type): [optional] # noqa: E501 + salutation (str, none_type): A formal salutation for the person. For example, 'Mr', 'Mrs'. [optional] # noqa: E501 + birthday (date, none_type): The date of birth of the person.. [optional] # noqa: E501 updated_by (str, none_type): [optional] # noqa: E501 created_by (str, none_type): [optional] # noqa: E501 updated_at (datetime): [optional] # noqa: E501 diff --git a/src/apideck/model/company_info.py b/src/apideck/model/company_info.py index 1e5c94c4a..f39b48f23 100644 --- a/src/apideck/model/company_info.py +++ b/src/apideck/model/company_info.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -204,8 +204,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 status (str): Based on the status some functionality is enabled or disabled.. [optional] # noqa: E501 legal_name (str): The legal name of the company. [optional] # noqa: E501 country (str, none_type): country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 @@ -220,11 +220,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 addresses ([Address]): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -306,8 +306,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 status (str): Based on the status some functionality is enabled or disabled.. [optional] # noqa: E501 legal_name (str): The legal name of the company. [optional] # noqa: E501 country (str, none_type): country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 @@ -322,11 +322,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 addresses ([Address]): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/company_row_type.py b/src/apideck/model/company_row_type.py index 7638d9d70..f9819d313 100644 --- a/src/apideck/model/company_row_type.py +++ b/src/apideck/model/company_row_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/compensation.py b/src/apideck/model/compensation.py index d922a6775..4a01c6186 100644 --- a/src/apideck/model/compensation.py +++ b/src/apideck/model/compensation.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -118,7 +118,7 @@ def _from_openapi_data(cls, employee_id, *args, **kwargs): # noqa: E501 """Compensation - a model defined in OpenAPI Args: - employee_id (str): + employee_id (str): A unique identifier for an object. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/src/apideck/model/connection.py b/src/apideck/model/connection.py index 9c705f605..81e2bd66e 100644 --- a/src/apideck/model/connection.py +++ b/src/apideck/model/connection.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -34,12 +34,14 @@ def lazy_import(): from apideck.model.connection_configuration import ConnectionConfiguration from apideck.model.connection_state import ConnectionState from apideck.model.form_field import FormField + from apideck.model.integration_state import IntegrationState from apideck.model.o_auth_grant_type import OAuthGrantType from apideck.model.webhook_subscription import WebhookSubscription globals()['AuthType'] = AuthType globals()['ConnectionConfiguration'] = ConnectionConfiguration globals()['ConnectionState'] = ConnectionState globals()['FormField'] = FormField + globals()['IntegrationState'] = IntegrationState globals()['OAuthGrantType'] = OAuthGrantType globals()['WebhookSubscription'] = WebhookSubscription @@ -108,6 +110,7 @@ def openapi_types(): 'tag_line': (str,), # noqa: E501 'unified_api': (str,), # noqa: E501 'state': (ConnectionState,), # noqa: E501 + 'integration_state': (IntegrationState,), # noqa: E501 'auth_type': (AuthType,), # noqa: E501 'oauth_grant_type': (OAuthGrantType,), # noqa: E501 'status': (str,), # noqa: E501 @@ -143,6 +146,7 @@ def discriminator(): 'tag_line': 'tag_line', # noqa: E501 'unified_api': 'unified_api', # noqa: E501 'state': 'state', # noqa: E501 + 'integration_state': 'integration_state', # noqa: E501 'auth_type': 'auth_type', # noqa: E501 'oauth_grant_type': 'oauth_grant_type', # noqa: E501 'status': 'status', # noqa: E501 @@ -233,6 +237,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 tag_line (str): [optional] # noqa: E501 unified_api (str): The unified API category where the connection belongs to.. [optional] # noqa: E501 state (ConnectionState): [optional] # noqa: E501 + integration_state (IntegrationState): [optional] # noqa: E501 auth_type (AuthType): [optional] # noqa: E501 oauth_grant_type (OAuthGrantType): [optional] # noqa: E501 status (str): Status of the connection.. [optional] # noqa: E501 @@ -341,6 +346,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 tag_line (str): [optional] # noqa: E501 unified_api (str): The unified API category where the connection belongs to.. [optional] # noqa: E501 state (ConnectionState): [optional] # noqa: E501 + integration_state (IntegrationState): [optional] # noqa: E501 auth_type (AuthType): [optional] # noqa: E501 oauth_grant_type (OAuthGrantType): [optional] # noqa: E501 status (str): Status of the connection.. [optional] # noqa: E501 diff --git a/src/apideck/model/connection_configuration.py b/src/apideck/model/connection_configuration.py index 2228f96ad..a6fc542b6 100644 --- a/src/apideck/model/connection_configuration.py +++ b/src/apideck/model/connection_configuration.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connection_defaults.py b/src/apideck/model/connection_defaults.py index 5910b83cc..218fb0722 100644 --- a/src/apideck/model/connection_defaults.py +++ b/src/apideck/model/connection_defaults.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connection_import_data.py b/src/apideck/model/connection_import_data.py index dae2ddf4f..223362e24 100644 --- a/src/apideck/model/connection_import_data.py +++ b/src/apideck/model/connection_import_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connection_import_data_credentials.py b/src/apideck/model/connection_import_data_credentials.py index 324deab90..c96f04806 100644 --- a/src/apideck/model/connection_import_data_credentials.py +++ b/src/apideck/model/connection_import_data_credentials.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connection_metadata.py b/src/apideck/model/connection_metadata.py index 2a9184a91..a332255ec 100644 --- a/src/apideck/model/connection_metadata.py +++ b/src/apideck/model/connection_metadata.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connection_state.py b/src/apideck/model/connection_state.py index 506eeef1e..0454d27ad 100644 --- a/src/apideck/model/connection_state.py +++ b/src/apideck/model/connection_state.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connection_webhook.py b/src/apideck/model/connection_webhook.py index 6620cf0e8..6aaa48607 100644 --- a/src/apideck/model/connection_webhook.py +++ b/src/apideck/model/connection_webhook.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -155,8 +155,12 @@ class ConnectionWebhook(ModelNormal): 'FILE-STORAGE.FILE.CREATED': "file-storage.file.created", 'FILE-STORAGE.FILE.UPDATED': "file-storage.file.updated", 'FILE-STORAGE.FILE.DELETED': "file-storage.file.deleted", + 'ISSUE-TRACKING.TICKET.CREATED': "issue-tracking.ticket.created", + 'ISSUE-TRACKING.TICKET.UPDATED': "issue-tracking.ticket.updated", + 'ISSUE-TRACKING.TICKET.DELETED': "issue-tracking.ticket.deleted", }, ('disabled_reason',): { + 'NONE': "none", 'RETRY_LIMIT': "retry_limit", 'USAGE_LIMIT': "usage_limit", }, @@ -274,10 +278,10 @@ def _from_openapi_data(cls, unified_api, status, delivery_url, execute_base_url, through its discriminator because we passed in _visited_composed_classes = (Animal,) id (str): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 disabled_reason (str): Indicates if the webhook has has been disabled as it reached its retry limit or if account is over the usage allocated by it's plan.. [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -371,10 +375,10 @@ def __init__(self, unified_api, status, delivery_url, events, *args, **kwargs): through its discriminator because we passed in _visited_composed_classes = (Animal,) id (str): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 disabled_reason (str): Indicates if the webhook has has been disabled as it reached its retry limit or if account is over the usage allocated by it's plan.. [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/connector.py b/src/apideck/model/connector.py index 8eb723c5d..09e19db47 100644 --- a/src/apideck/model/connector.py +++ b/src/apideck/model/connector.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -232,7 +232,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 id (str): ID of the connector.. [optional] # noqa: E501 name (str): Name of the connector.. [optional] # noqa: E501 status (ConnectorStatus): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 icon_url (str): Link to a small square icon for the connector.. [optional] # noqa: E501 logo_url (str): Link to the full logo for the connector.. [optional] # noqa: E501 website_url (str): Link to the connector's website.. [optional] # noqa: E501 @@ -339,7 +339,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 id (str): ID of the connector.. [optional] # noqa: E501 name (str): Name of the connector.. [optional] # noqa: E501 status (ConnectorStatus): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 icon_url (str): Link to a small square icon for the connector.. [optional] # noqa: E501 logo_url (str): Link to the full logo for the connector.. [optional] # noqa: E501 website_url (str): Link to the connector's website.. [optional] # noqa: E501 diff --git a/src/apideck/model/connector_doc.py b/src/apideck/model/connector_doc.py index 06c04a227..654caf096 100644 --- a/src/apideck/model/connector_doc.py +++ b/src/apideck/model/connector_doc.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -150,7 +150,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): Name of the doc.. [optional] # noqa: E501 audience (str): Audience for the doc.. [optional] # noqa: E501 format (str): Format of the doc.. [optional] if omitted the server will use the default value of "markdown" # noqa: E501 @@ -236,7 +236,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): Name of the doc.. [optional] # noqa: E501 audience (str): Audience for the doc.. [optional] # noqa: E501 format (str): Format of the doc.. [optional] if omitted the server will use the default value of "markdown" # noqa: E501 diff --git a/src/apideck/model/connector_event.py b/src/apideck/model/connector_event.py index b9f6dcf79..c21e1fdf4 100644 --- a/src/apideck/model/connector_event.py +++ b/src/apideck/model/connector_event.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -88,7 +88,8 @@ def openapi_types(): 'event_type': (str,), # noqa: E501 'event_source': (str,), # noqa: E501 'downstream_event_type': (str,), # noqa: E501 - 'resource': (str,), # noqa: E501 + 'resources': ([str],), # noqa: E501 + 'entity_type': (str,), # noqa: E501 } @cached_property @@ -100,7 +101,8 @@ def discriminator(): 'event_type': 'event_type', # noqa: E501 'event_source': 'event_source', # noqa: E501 'downstream_event_type': 'downstream_event_type', # noqa: E501 - 'resource': 'resource', # noqa: E501 + 'resources': 'resources', # noqa: E501 + 'entity_type': 'entity_type', # noqa: E501 } read_only_vars = { @@ -147,7 +149,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 event_type (str): Unify event type. [optional] # noqa: E501 event_source (str): Unify event source. [optional] # noqa: E501 downstream_event_type (str): Downstream event type. [optional] # noqa: E501 - resource (str): ID of the resource, typically a lowercased version of name.. [optional] # noqa: E501 + resources ([str]): [optional] # noqa: E501 + entity_type (str): Unify entity type. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -232,7 +235,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 event_type (str): Unify event type. [optional] # noqa: E501 event_source (str): Unify event source. [optional] # noqa: E501 downstream_event_type (str): Downstream event type. [optional] # noqa: E501 - resource (str): ID of the resource, typically a lowercased version of name.. [optional] # noqa: E501 + resources ([str]): [optional] # noqa: E501 + entity_type (str): Unify entity type. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/connector_oauth_scopes.py b/src/apideck/model/connector_oauth_scopes.py index 32ff22954..1c6ed0f58 100644 --- a/src/apideck/model/connector_oauth_scopes.py +++ b/src/apideck/model/connector_oauth_scopes.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connector_oauth_scopes1.py b/src/apideck/model/connector_oauth_scopes1.py index 0bbc9545c..d7c31cadc 100644 --- a/src/apideck/model/connector_oauth_scopes1.py +++ b/src/apideck/model/connector_oauth_scopes1.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connector_resource.py b/src/apideck/model/connector_resource.py index de9f97634..cb650fbb0 100644 --- a/src/apideck/model/connector_resource.py +++ b/src/apideck/model/connector_resource.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connector_setting.py b/src/apideck/model/connector_setting.py index c2a90ef67..61f06ad1b 100644 --- a/src/apideck/model/connector_setting.py +++ b/src/apideck/model/connector_setting.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connector_status.py b/src/apideck/model/connector_status.py index 84531cf31..9f9da3f57 100644 --- a/src/apideck/model/connector_status.py +++ b/src/apideck/model/connector_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connector_tls_support.py b/src/apideck/model/connector_tls_support.py index d47e382f2..abc58c007 100644 --- a/src/apideck/model/connector_tls_support.py +++ b/src/apideck/model/connector_tls_support.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connector_unified_apis.py b/src/apideck/model/connector_unified_apis.py index ac70e295d..34bbaf814 100644 --- a/src/apideck/model/connector_unified_apis.py +++ b/src/apideck/model/connector_unified_apis.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/connectors_filter.py b/src/apideck/model/connectors_filter.py index 3c4a9c3bb..7134b0c1b 100644 --- a/src/apideck/model/connectors_filter.py +++ b/src/apideck/model/connectors_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/consumer.py b/src/apideck/model/consumer.py index ad05ff875..f0372d561 100644 --- a/src/apideck/model/consumer.py +++ b/src/apideck/model/consumer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -122,15 +122,25 @@ def discriminator(): } read_only_vars = { + 'application_id', # noqa: E501 + 'connections', # noqa: E501 + 'services', # noqa: E501 + 'aggregated_request_count', # noqa: E501 + 'created', # noqa: E501 + 'modified', # noqa: E501 + 'request_count_updated', # noqa: E501 } _composed_schemas = {} @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, consumer_id, *args, **kwargs): # noqa: E501 """Consumer - a model defined in OpenAPI + Args: + consumer_id (str): Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -162,8 +172,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - consumer_id (str): [optional] # noqa: E501 - application_id (str): [optional] # noqa: E501 + application_id (str): ID of your Apideck Application. [optional] # noqa: E501 metadata (ConsumerMetadata): [optional] # noqa: E501 connections ([ConsumerConnection]): [optional] # noqa: E501 services ([str]): [optional] # noqa: E501 @@ -199,6 +208,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.consumer_id = consumer_id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -219,9 +229,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 ]) @convert_js_args_to_python_args - def __init__(self, *args, **kwargs): # noqa: E501 + def __init__(self, consumer_id, *args, **kwargs): # noqa: E501 """Consumer - a model defined in OpenAPI + Args: + consumer_id (str): Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -253,8 +266,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - consumer_id (str): [optional] # noqa: E501 - application_id (str): [optional] # noqa: E501 + application_id (str): ID of your Apideck Application. [optional] # noqa: E501 metadata (ConsumerMetadata): [optional] # noqa: E501 connections ([ConsumerConnection]): [optional] # noqa: E501 services ([str]): [optional] # noqa: E501 @@ -288,6 +300,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.consumer_id = consumer_id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ diff --git a/src/apideck/model/consumer_connection.py b/src/apideck/model/consumer_connection.py index 5554bf5dd..d1968a782 100644 --- a/src/apideck/model/consumer_connection.py +++ b/src/apideck/model/consumer_connection.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/consumer_metadata.py b/src/apideck/model/consumer_metadata.py index 945bf7736..1e40183da 100644 --- a/src/apideck/model/consumer_metadata.py +++ b/src/apideck/model/consumer_metadata.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -140,10 +140,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - account_name (str): [optional] # noqa: E501 - user_name (str): [optional] # noqa: E501 - email (str): [optional] # noqa: E501 - image (str): [optional] # noqa: E501 + account_name (str): The name of the account as shown in the sidebar.. [optional] # noqa: E501 + user_name (str): The name of the user as shown in the sidebar.. [optional] # noqa: E501 + email (str): The email of the user as shown in the sidebar.. [optional] # noqa: E501 + image (str): The avatar of the user in the sidebar. Must be a valid URL. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -225,10 +225,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - account_name (str): [optional] # noqa: E501 - user_name (str): [optional] # noqa: E501 - email (str): [optional] # noqa: E501 - image (str): [optional] # noqa: E501 + account_name (str): The name of the account as shown in the sidebar.. [optional] # noqa: E501 + user_name (str): The name of the user as shown in the sidebar.. [optional] # noqa: E501 + email (str): The email of the user as shown in the sidebar.. [optional] # noqa: E501 + image (str): The avatar of the user in the sidebar. Must be a valid URL. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/consumer_request_counts_in_date_range_response.py b/src/apideck/model/consumer_request_counts_in_date_range_response.py index fc9f3ef84..d64a40f44 100644 --- a/src/apideck/model/consumer_request_counts_in_date_range_response.py +++ b/src/apideck/model/consumer_request_counts_in_date_range_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/consumer_request_counts_in_date_range_response_data.py b/src/apideck/model/consumer_request_counts_in_date_range_response_data.py index 40021f51c..20129e923 100644 --- a/src/apideck/model/consumer_request_counts_in_date_range_response_data.py +++ b/src/apideck/model/consumer_request_counts_in_date_range_response_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/contact.py b/src/apideck/model/contact.py index 548f2fd01..a232c4eb4 100644 --- a/src/apideck/model/contact.py +++ b/src/apideck/model/contact.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -261,7 +261,7 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 gender (str, none_type): [optional] # noqa: E501 birthday (str, none_type): [optional] # noqa: E501 image (str, none_type): [optional] # noqa: E501 - photo_url (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 lead_source (str, none_type): [optional] # noqa: E501 fax (str, none_type): [optional] # noqa: E501 description (str, none_type): [optional] # noqa: E501 @@ -383,7 +383,7 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 gender (str, none_type): [optional] # noqa: E501 birthday (str, none_type): [optional] # noqa: E501 image (str, none_type): [optional] # noqa: E501 - photo_url (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 lead_source (str, none_type): [optional] # noqa: E501 fax (str, none_type): [optional] # noqa: E501 description (str, none_type): [optional] # noqa: E501 diff --git a/src/apideck/model/contacts_filter.py b/src/apideck/model/contacts_filter.py index c157af88e..545d45df2 100644 --- a/src/apideck/model/contacts_filter.py +++ b/src/apideck/model/contacts_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -79,6 +79,7 @@ def openapi_types(): 'first_name': (str,), # noqa: E501 'last_name': (str,), # noqa: E501 'email': (str,), # noqa: E501 + 'company_id': (str,), # noqa: E501 } @cached_property @@ -91,6 +92,7 @@ def discriminator(): 'first_name': 'first_name', # noqa: E501 'last_name': 'last_name', # noqa: E501 'email': 'email', # noqa: E501 + 'company_id': 'company_id', # noqa: E501 } read_only_vars = { @@ -137,7 +139,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 name (str): Name of the contact to filter on. [optional] # noqa: E501 first_name (str): First name of the contact to filter on. [optional] # noqa: E501 last_name (str): Last name of the contact to filter on. [optional] # noqa: E501 - email (str): E-mail of the contact to filter on. [optional] # noqa: E501 + email (str): Email of the contact to filter on. [optional] # noqa: E501 + company_id (str): Unique identifier for the associated company of the contact to filter on. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -222,7 +225,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 name (str): Name of the contact to filter on. [optional] # noqa: E501 first_name (str): First name of the contact to filter on. [optional] # noqa: E501 last_name (str): Last name of the contact to filter on. [optional] # noqa: E501 - email (str): E-mail of the contact to filter on. [optional] # noqa: E501 + email (str): Email of the contact to filter on. [optional] # noqa: E501 + company_id (str): Unique identifier for the associated company of the contact to filter on. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/contacts_sort.py b/src/apideck/model/contacts_sort.py index bed5c689d..7854ed53d 100644 --- a/src/apideck/model/contacts_sort.py +++ b/src/apideck/model/contacts_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/copy_folder_request.py b/src/apideck/model/copy_folder_request.py index 8700d368f..f8e21165d 100644 --- a/src/apideck/model/copy_folder_request.py +++ b/src/apideck/model/copy_folder_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -136,7 +136,7 @@ def _from_openapi_data(cls, parent_folder_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the folder.. [optional] # noqa: E501 """ @@ -223,7 +223,7 @@ def __init__(self, parent_folder_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the folder.. [optional] # noqa: E501 """ diff --git a/src/apideck/model/create_activity_response.py b/src/apideck/model/create_activity_response.py index 216906d36..e8961b51f 100644 --- a/src/apideck/model/create_activity_response.py +++ b/src/apideck/model/create_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_applicant_response.py b/src/apideck/model/create_applicant_response.py index dabc72683..a02ad3d32 100644 --- a/src/apideck/model/create_applicant_response.py +++ b/src/apideck/model/create_applicant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_bill_response.py b/src/apideck/model/create_bill_response.py index 8c71133ed..91194f7eb 100644 --- a/src/apideck/model/create_bill_response.py +++ b/src/apideck/model/create_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_comment_response.py b/src/apideck/model/create_comment_response.py new file mode 100644 index 000000000..18255faf4 --- /dev/null +++ b/src/apideck/model/create_comment_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class CreateCommentResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/create_company_response.py b/src/apideck/model/create_company_response.py index 5ae119848..425873c42 100644 --- a/src/apideck/model/create_company_response.py +++ b/src/apideck/model/create_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_connection_response.py b/src/apideck/model/create_connection_response.py index b105ff2d0..12eec5616 100644 --- a/src/apideck/model/create_connection_response.py +++ b/src/apideck/model/create_connection_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_consumer_response.py b/src/apideck/model/create_consumer_response.py new file mode 100644 index 000000000..f3319c3a8 --- /dev/null +++ b/src/apideck/model/create_consumer_response.py @@ -0,0 +1,279 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.consumer import Consumer + globals()['Consumer'] = Consumer + + +class CreateConsumerResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'data': (Consumer,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, data, *args, **kwargs): # noqa: E501 + """CreateConsumerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + data (Consumer): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, data, *args, **kwargs): # noqa: E501 + """CreateConsumerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + data (Consumer): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/create_contact_response.py b/src/apideck/model/create_contact_response.py index 4a52d47d8..0aeb62502 100644 --- a/src/apideck/model/create_contact_response.py +++ b/src/apideck/model/create_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_credit_note_response.py b/src/apideck/model/create_credit_note_response.py index 9fec56111..e66de233f 100644 --- a/src/apideck/model/create_credit_note_response.py +++ b/src/apideck/model/create_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_customer_response.py b/src/apideck/model/create_customer_response.py index 975248753..f194a79fc 100644 --- a/src/apideck/model/create_customer_response.py +++ b/src/apideck/model/create_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_customer_support_customer_response.py b/src/apideck/model/create_customer_support_customer_response.py index 4ccbdb881..4031b772e 100644 --- a/src/apideck/model/create_customer_support_customer_response.py +++ b/src/apideck/model/create_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_department_response.py b/src/apideck/model/create_department_response.py index 6d2a75c59..880b177fa 100644 --- a/src/apideck/model/create_department_response.py +++ b/src/apideck/model/create_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_drive_group_response.py b/src/apideck/model/create_drive_group_response.py index d3d2e5043..d95fa4441 100644 --- a/src/apideck/model/create_drive_group_response.py +++ b/src/apideck/model/create_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_drive_response.py b/src/apideck/model/create_drive_response.py index 573300bac..716aa6076 100644 --- a/src/apideck/model/create_drive_response.py +++ b/src/apideck/model/create_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_ecommerce_customer_response.py b/src/apideck/model/create_ecommerce_customer_response.py new file mode 100644 index 000000000..3a811ecd0 --- /dev/null +++ b/src/apideck/model/create_ecommerce_customer_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class CreateEcommerceCustomerResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/create_ecommerce_order_response.py b/src/apideck/model/create_ecommerce_order_response.py new file mode 100644 index 000000000..a5acae968 --- /dev/null +++ b/src/apideck/model/create_ecommerce_order_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class CreateEcommerceOrderResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/create_employee_response.py b/src/apideck/model/create_employee_response.py index a031c52a9..b56430367 100644 --- a/src/apideck/model/create_employee_response.py +++ b/src/apideck/model/create_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_file_request.py b/src/apideck/model/create_file_request.py index feea5401d..fdd2d003d 100644 --- a/src/apideck/model/create_file_request.py +++ b/src/apideck/model/create_file_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_file_response.py b/src/apideck/model/create_file_response.py index 21b11560d..0f9962dff 100644 --- a/src/apideck/model/create_file_response.py +++ b/src/apideck/model/create_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_folder_request.py b/src/apideck/model/create_folder_request.py index 06c97fdb9..38d3840e9 100644 --- a/src/apideck/model/create_folder_request.py +++ b/src/apideck/model/create_folder_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -141,7 +141,7 @@ def _from_openapi_data(cls, name, parent_folder_id, *args, **kwargs): # noqa: E Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 description (str): Optional description of the folder.. [optional] # noqa: E501 drive_id (str): ID of the drive to create the folder in.. [optional] # noqa: E501 """ @@ -231,7 +231,7 @@ def __init__(self, name, parent_folder_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 description (str): Optional description of the folder.. [optional] # noqa: E501 drive_id (str): ID of the drive to create the folder in.. [optional] # noqa: E501 """ diff --git a/src/apideck/model/create_folder_response.py b/src/apideck/model/create_folder_response.py index e7819c11e..1bcde8607 100644 --- a/src/apideck/model/create_folder_response.py +++ b/src/apideck/model/create_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_hris_company_response.py b/src/apideck/model/create_hris_company_response.py index 767a0738a..a977592a9 100644 --- a/src/apideck/model/create_hris_company_response.py +++ b/src/apideck/model/create_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_invoice_item_response.py b/src/apideck/model/create_invoice_item_response.py index ab3134173..d5a7b318d 100644 --- a/src/apideck/model/create_invoice_item_response.py +++ b/src/apideck/model/create_invoice_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_invoice_response.py b/src/apideck/model/create_invoice_response.py index ffdee8ad2..7d59bf59d 100644 --- a/src/apideck/model/create_invoice_response.py +++ b/src/apideck/model/create_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_item_response.py b/src/apideck/model/create_item_response.py index 2d15df8f8..87363426c 100644 --- a/src/apideck/model/create_item_response.py +++ b/src/apideck/model/create_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_job_response.py b/src/apideck/model/create_job_response.py index 100cf6464..3dd87811b 100644 --- a/src/apideck/model/create_job_response.py +++ b/src/apideck/model/create_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_journal_entry_response.py b/src/apideck/model/create_journal_entry_response.py new file mode 100644 index 000000000..bc556e443 --- /dev/null +++ b/src/apideck/model/create_journal_entry_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class CreateJournalEntryResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/create_lead_response.py b/src/apideck/model/create_lead_response.py index 3c401122d..8a5530e66 100644 --- a/src/apideck/model/create_lead_response.py +++ b/src/apideck/model/create_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_ledger_account_response.py b/src/apideck/model/create_ledger_account_response.py index 11fadf74d..40e7c5510 100644 --- a/src/apideck/model/create_ledger_account_response.py +++ b/src/apideck/model/create_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_location_response.py b/src/apideck/model/create_location_response.py index f86649416..4fed3d406 100644 --- a/src/apideck/model/create_location_response.py +++ b/src/apideck/model/create_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_merchant_response.py b/src/apideck/model/create_merchant_response.py index f1cf49bf0..de6f9cd4e 100644 --- a/src/apideck/model/create_merchant_response.py +++ b/src/apideck/model/create_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_message_response.py b/src/apideck/model/create_message_response.py index b73ea1a64..aa143da04 100644 --- a/src/apideck/model/create_message_response.py +++ b/src/apideck/model/create_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_modifier_group_response.py b/src/apideck/model/create_modifier_group_response.py index 3b697e38a..81e6ca31d 100644 --- a/src/apideck/model/create_modifier_group_response.py +++ b/src/apideck/model/create_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_modifier_response.py b/src/apideck/model/create_modifier_response.py index b93019bce..114166a3a 100644 --- a/src/apideck/model/create_modifier_response.py +++ b/src/apideck/model/create_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_note_response.py b/src/apideck/model/create_note_response.py index e3ded5ceb..c72705a80 100644 --- a/src/apideck/model/create_note_response.py +++ b/src/apideck/model/create_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_opportunity_response.py b/src/apideck/model/create_opportunity_response.py index 00af8d64e..2b5a0b324 100644 --- a/src/apideck/model/create_opportunity_response.py +++ b/src/apideck/model/create_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_order_response.py b/src/apideck/model/create_order_response.py index f97357a1c..62ab0f492 100644 --- a/src/apideck/model/create_order_response.py +++ b/src/apideck/model/create_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_order_type_response.py b/src/apideck/model/create_order_type_response.py index 8254f44bc..30c9984b5 100644 --- a/src/apideck/model/create_order_type_response.py +++ b/src/apideck/model/create_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_payment_response.py b/src/apideck/model/create_payment_response.py index 0f7356890..7bb949f6c 100644 --- a/src/apideck/model/create_payment_response.py +++ b/src/apideck/model/create_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_pipeline_response.py b/src/apideck/model/create_pipeline_response.py index 35bdeacf4..3a94b885b 100644 --- a/src/apideck/model/create_pipeline_response.py +++ b/src/apideck/model/create_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_pos_payment_response.py b/src/apideck/model/create_pos_payment_response.py index 5fa5ce2bc..660b762a7 100644 --- a/src/apideck/model/create_pos_payment_response.py +++ b/src/apideck/model/create_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_product_response.py b/src/apideck/model/create_product_response.py new file mode 100644 index 000000000..56efe7115 --- /dev/null +++ b/src/apideck/model/create_product_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class CreateProductResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/create_session_response.py b/src/apideck/model/create_session_response.py index 76596b1b9..8250321a1 100644 --- a/src/apideck/model/create_session_response.py +++ b/src/apideck/model/create_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_session_response_data.py b/src/apideck/model/create_session_response_data.py index cd99c5756..ed728b849 100644 --- a/src/apideck/model/create_session_response_data.py +++ b/src/apideck/model/create_session_response_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_shared_link_response.py b/src/apideck/model/create_shared_link_response.py index 6aa030a9c..43286b3e0 100644 --- a/src/apideck/model/create_shared_link_response.py +++ b/src/apideck/model/create_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_supplier_response.py b/src/apideck/model/create_supplier_response.py index c1f5ba47d..5fab16672 100644 --- a/src/apideck/model/create_supplier_response.py +++ b/src/apideck/model/create_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_tax_rate_response.py b/src/apideck/model/create_tax_rate_response.py index 505199908..7ee30ee81 100644 --- a/src/apideck/model/create_tax_rate_response.py +++ b/src/apideck/model/create_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_tender_response.py b/src/apideck/model/create_tender_response.py index baa5c3b62..3210279f7 100644 --- a/src/apideck/model/create_tender_response.py +++ b/src/apideck/model/create_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_ticket_response.py b/src/apideck/model/create_ticket_response.py new file mode 100644 index 000000000..d92e464cd --- /dev/null +++ b/src/apideck/model/create_ticket_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class CreateTicketResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """CreateTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/create_time_off_request_response.py b/src/apideck/model/create_time_off_request_response.py index 06ebdf697..01f8dd380 100644 --- a/src/apideck/model/create_time_off_request_response.py +++ b/src/apideck/model/create_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_upload_session_request.py b/src/apideck/model/create_upload_session_request.py index 359ff5be2..a514664c7 100644 --- a/src/apideck/model/create_upload_session_request.py +++ b/src/apideck/model/create_upload_session_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_upload_session_response.py b/src/apideck/model/create_upload_session_response.py index 588b81e3e..f279ac563 100644 --- a/src/apideck/model/create_upload_session_response.py +++ b/src/apideck/model/create_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_user_response.py b/src/apideck/model/create_user_response.py index cda71098a..aa4c96002 100644 --- a/src/apideck/model/create_user_response.py +++ b/src/apideck/model/create_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/create_webhook_request.py b/src/apideck/model/create_webhook_request.py index a14db9b08..f78a69852 100644 --- a/src/apideck/model/create_webhook_request.py +++ b/src/apideck/model/create_webhook_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -153,7 +153,7 @@ def _from_openapi_data(cls, unified_api, status, delivery_url, events, *args, ** Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -245,7 +245,7 @@ def __init__(self, unified_api, status, delivery_url, events, *args, **kwargs): Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/create_webhook_response.py b/src/apideck/model/create_webhook_response.py index fb77e15a7..f49f52b51 100644 --- a/src/apideck/model/create_webhook_response.py +++ b/src/apideck/model/create_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/credit_note.py b/src/apideck/model/credit_note.py index 225b7cff1..0267e9ea1 100644 --- a/src/apideck/model/credit_note.py +++ b/src/apideck/model/credit_note.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -81,14 +81,7 @@ class CreditNote(ModelNormal): validations = { } - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + additional_properties_type = None _nullable = False @@ -104,8 +97,8 @@ def openapi_types(): """ lazy_import() return { - 'total_amount': (float,), # noqa: E501 'id': (str,), # noqa: E501 + 'total_amount': (float,), # noqa: E501 'number': (str, none_type,), # noqa: E501 'customer': (LinkedCustomer,), # noqa: E501 'currency': (Currency,), # noqa: E501 @@ -125,6 +118,7 @@ def openapi_types(): 'line_items': ([InvoiceLineItem],), # noqa: E501 'allocations': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 'note': (str, none_type,), # noqa: E501 + 'terms': (str, none_type,), # noqa: E501 'row_version': (str, none_type,), # noqa: E501 'updated_by': (str, none_type,), # noqa: E501 'created_by': (str, none_type,), # noqa: E501 @@ -138,8 +132,8 @@ def discriminator(): attribute_map = { - 'total_amount': 'total_amount', # noqa: E501 'id': 'id', # noqa: E501 + 'total_amount': 'total_amount', # noqa: E501 'number': 'number', # noqa: E501 'customer': 'customer', # noqa: E501 'currency': 'currency', # noqa: E501 @@ -159,6 +153,7 @@ def discriminator(): 'line_items': 'line_items', # noqa: E501 'allocations': 'allocations', # noqa: E501 'note': 'note', # noqa: E501 + 'terms': 'terms', # noqa: E501 'row_version': 'row_version', # noqa: E501 'updated_by': 'updated_by', # noqa: E501 'created_by': 'created_by', # noqa: E501 @@ -178,10 +173,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, total_amount, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, total_amount, *args, **kwargs): # noqa: E501 """CreditNote - a model defined in OpenAPI Args: + id (str): Unique identifier representing the entity total_amount (float): Amount of transaction Keyword Args: @@ -215,7 +211,6 @@ def _from_openapi_data(cls, total_amount, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Unique identifier representing the entity. [optional] # noqa: E501 number (str, none_type): Credit note number.. [optional] # noqa: E501 customer (LinkedCustomer): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 @@ -226,7 +221,7 @@ def _from_openapi_data(cls, total_amount, *args, **kwargs): # noqa: E501 tax_code (str, none_type): Applicable tax id/code override if tax is not supplied on a line item basis.. [optional] # noqa: E501 balance (float, none_type): The balance reflecting any payments made against the transaction.. [optional] # noqa: E501 remaining_credit (float, none_type): Indicates the total credit amount still available to apply towards the payment.. [optional] # noqa: E501 - status (str): Status of payment. [optional] # noqa: E501 + status (str): Status of credit notes. [optional] # noqa: E501 reference (str, none_type): Optional reference message ie: Debit remittance detail.. [optional] # noqa: E501 date_issued (datetime): Date credit note issued - YYYY:MM::DDThh:mm:ss.sTZD. [optional] # noqa: E501 date_paid (datetime, none_type): Date credit note paid - YYYY:MM::DDThh:mm:ss.sTZD. [optional] # noqa: E501 @@ -235,11 +230,12 @@ def _from_openapi_data(cls, total_amount, *args, **kwargs): # noqa: E501 line_items ([InvoiceLineItem]): [optional] # noqa: E501 allocations ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 note (str, none_type): Optional note to be associated with the credit note.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + terms (str, none_type): Optional terms to be associated with the credit note.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -267,6 +263,7 @@ def _from_openapi_data(cls, total_amount, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.id = id self.total_amount = total_amount for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ @@ -291,7 +288,6 @@ def _from_openapi_data(cls, total_amount, *args, **kwargs): # noqa: E501 def __init__(self, total_amount, *args, **kwargs): # noqa: E501 """CreditNote - a model defined in OpenAPI - Args: total_amount (float): Amount of transaction Keyword Args: @@ -325,7 +321,6 @@ def __init__(self, total_amount, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Unique identifier representing the entity. [optional] # noqa: E501 number (str, none_type): Credit note number.. [optional] # noqa: E501 customer (LinkedCustomer): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 @@ -336,7 +331,7 @@ def __init__(self, total_amount, *args, **kwargs): # noqa: E501 tax_code (str, none_type): Applicable tax id/code override if tax is not supplied on a line item basis.. [optional] # noqa: E501 balance (float, none_type): The balance reflecting any payments made against the transaction.. [optional] # noqa: E501 remaining_credit (float, none_type): Indicates the total credit amount still available to apply towards the payment.. [optional] # noqa: E501 - status (str): Status of payment. [optional] # noqa: E501 + status (str): Status of credit notes. [optional] # noqa: E501 reference (str, none_type): Optional reference message ie: Debit remittance detail.. [optional] # noqa: E501 date_issued (datetime): Date credit note issued - YYYY:MM::DDThh:mm:ss.sTZD. [optional] # noqa: E501 date_paid (datetime, none_type): Date credit note paid - YYYY:MM::DDThh:mm:ss.sTZD. [optional] # noqa: E501 @@ -345,11 +340,12 @@ def __init__(self, total_amount, *args, **kwargs): # noqa: E501 line_items ([InvoiceLineItem]): [optional] # noqa: E501 allocations ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 note (str, none_type): Optional note to be associated with the credit note.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + terms (str, none_type): Optional terms to be associated with the credit note.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/crm_event_type.py b/src/apideck/model/crm_event_type.py index ac4c04a73..a9b489a24 100644 --- a/src/apideck/model/crm_event_type.py +++ b/src/apideck/model/crm_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/currency.py b/src/apideck/model/currency.py index 5fb4727d1..43fb4572e 100644 --- a/src/apideck/model/currency.py +++ b/src/apideck/model/currency.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -235,6 +235,7 @@ class Currency(ModelSimple): 'ZMK': "ZMK", 'ZMW': "ZMW", 'BTC': "BTC", + 'ETH': "ETH", }, } @@ -286,10 +287,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", ] # noqa: E501 + args[0] (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", "ETH", ] # noqa: E501 Keyword Args: - value (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", ] # noqa: E501 + value (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", "ETH", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -376,10 +377,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", ] # noqa: E501 + args[0] (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", "ETH", ] # noqa: E501 Keyword Args: - value (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", ] # noqa: E501 + value (str): Indicates the associated currency for an amount of money. Values correspond to [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217).., must be one of ["UNKNOWN_CURRENCY", "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SVC", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRC", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMK", "ZMW", "BTC", "ETH", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/src/apideck/model/custom_field.py b/src/apideck/model/custom_field.py index 56798bad0..5cc0ee7bb 100644 --- a/src/apideck/model/custom_field.py +++ b/src/apideck/model/custom_field.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/customer_support_customer.py b/src/apideck/model/customer_support_customer.py index 11af15620..a538c5a6c 100644 --- a/src/apideck/model/customer_support_customer.py +++ b/src/apideck/model/customer_support_customer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -185,10 +185,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 individual (bool, none_type): [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 notes (str, none_type): [optional] # noqa: E501 @@ -198,10 +198,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 currency (Currency): [optional] # noqa: E501 bank_accounts (BankAccount): [optional] # noqa: E501 status (str, none_type): Customer status. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -283,10 +283,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 individual (bool, none_type): [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 notes (str, none_type): [optional] # noqa: E501 @@ -296,10 +296,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 currency (Currency): [optional] # noqa: E501 bank_accounts (BankAccount): [optional] # noqa: E501 status (str, none_type): Customer status. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/customers_filter.py b/src/apideck/model/customers_filter.py index 1423aee8e..ab08d589d 100644 --- a/src/apideck/model/customers_filter.py +++ b/src/apideck/model/customers_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/deduction.py b/src/apideck/model/deduction.py index b67b37651..5baa45359 100644 --- a/src/apideck/model/deduction.py +++ b/src/apideck/model/deduction.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_activity_response.py b/src/apideck/model/delete_activity_response.py index 025322979..935e5a7a2 100644 --- a/src/apideck/model/delete_activity_response.py +++ b/src/apideck/model/delete_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_bill_response.py b/src/apideck/model/delete_bill_response.py index 50698cd0d..624e3a22b 100644 --- a/src/apideck/model/delete_bill_response.py +++ b/src/apideck/model/delete_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_comment_response.py b/src/apideck/model/delete_comment_response.py new file mode 100644 index 000000000..815522194 --- /dev/null +++ b/src/apideck/model/delete_comment_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class DeleteCommentResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/delete_company_response.py b/src/apideck/model/delete_company_response.py index c14be519d..7fa304679 100644 --- a/src/apideck/model/delete_company_response.py +++ b/src/apideck/model/delete_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_consumer_response.py b/src/apideck/model/delete_consumer_response.py new file mode 100644 index 000000000..b8de1c4fa --- /dev/null +++ b/src/apideck/model/delete_consumer_response.py @@ -0,0 +1,273 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class DeleteConsumerResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'data': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, data, *args, **kwargs): # noqa: E501 + """DeleteConsumerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + data (bool, date, datetime, dict, float, int, list, str, none_type): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, data, *args, **kwargs): # noqa: E501 + """DeleteConsumerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + data (bool, date, datetime, dict, float, int, list, str, none_type): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/delete_contact_response.py b/src/apideck/model/delete_contact_response.py index 0d7dbba23..e6d56ae1d 100644 --- a/src/apideck/model/delete_contact_response.py +++ b/src/apideck/model/delete_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_credit_note_response.py b/src/apideck/model/delete_credit_note_response.py index 1da62ee0c..1e32519eb 100644 --- a/src/apideck/model/delete_credit_note_response.py +++ b/src/apideck/model/delete_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_customer_response.py b/src/apideck/model/delete_customer_response.py index fe3ee1f4a..9adb881f1 100644 --- a/src/apideck/model/delete_customer_response.py +++ b/src/apideck/model/delete_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_customer_support_customer_response.py b/src/apideck/model/delete_customer_support_customer_response.py index 07d1d7112..9bc1b5706 100644 --- a/src/apideck/model/delete_customer_support_customer_response.py +++ b/src/apideck/model/delete_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_department_response.py b/src/apideck/model/delete_department_response.py index 7d8526c63..dcf45408a 100644 --- a/src/apideck/model/delete_department_response.py +++ b/src/apideck/model/delete_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_drive_group_response.py b/src/apideck/model/delete_drive_group_response.py index 98ebb5b90..dc033b808 100644 --- a/src/apideck/model/delete_drive_group_response.py +++ b/src/apideck/model/delete_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_drive_response.py b/src/apideck/model/delete_drive_response.py index 662dfaa3c..2df539917 100644 --- a/src/apideck/model/delete_drive_response.py +++ b/src/apideck/model/delete_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_ecommerce_customer_response.py b/src/apideck/model/delete_ecommerce_customer_response.py new file mode 100644 index 000000000..9ce0c7a59 --- /dev/null +++ b/src/apideck/model/delete_ecommerce_customer_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class DeleteEcommerceCustomerResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/delete_ecommerce_order_response.py b/src/apideck/model/delete_ecommerce_order_response.py new file mode 100644 index 000000000..2157db686 --- /dev/null +++ b/src/apideck/model/delete_ecommerce_order_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class DeleteEcommerceOrderResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/delete_employee_response.py b/src/apideck/model/delete_employee_response.py index beb948418..23307e4df 100644 --- a/src/apideck/model/delete_employee_response.py +++ b/src/apideck/model/delete_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_file_response.py b/src/apideck/model/delete_file_response.py index becc2ef1f..f79a84bf9 100644 --- a/src/apideck/model/delete_file_response.py +++ b/src/apideck/model/delete_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_folder_response.py b/src/apideck/model/delete_folder_response.py index 84cd163ae..55b5ebdf0 100644 --- a/src/apideck/model/delete_folder_response.py +++ b/src/apideck/model/delete_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_hris_company_response.py b/src/apideck/model/delete_hris_company_response.py index 824392e46..997b4e760 100644 --- a/src/apideck/model/delete_hris_company_response.py +++ b/src/apideck/model/delete_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_invoice_item_response.py b/src/apideck/model/delete_invoice_item_response.py index 2fc27436d..f46ff8766 100644 --- a/src/apideck/model/delete_invoice_item_response.py +++ b/src/apideck/model/delete_invoice_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_invoice_response.py b/src/apideck/model/delete_invoice_response.py index d15a6065b..b2c664701 100644 --- a/src/apideck/model/delete_invoice_response.py +++ b/src/apideck/model/delete_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_item_response.py b/src/apideck/model/delete_item_response.py index 0c6e32e07..ae6a355ad 100644 --- a/src/apideck/model/delete_item_response.py +++ b/src/apideck/model/delete_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_job_response.py b/src/apideck/model/delete_job_response.py index 48f0cb57f..66c7ef1f1 100644 --- a/src/apideck/model/delete_job_response.py +++ b/src/apideck/model/delete_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_journal_entry_response.py b/src/apideck/model/delete_journal_entry_response.py new file mode 100644 index 000000000..a653c0961 --- /dev/null +++ b/src/apideck/model/delete_journal_entry_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class DeleteJournalEntryResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/delete_lead_response.py b/src/apideck/model/delete_lead_response.py index 1a4bf85d4..50462713b 100644 --- a/src/apideck/model/delete_lead_response.py +++ b/src/apideck/model/delete_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_ledger_account_response.py b/src/apideck/model/delete_ledger_account_response.py index dc36276e5..d545cd4b8 100644 --- a/src/apideck/model/delete_ledger_account_response.py +++ b/src/apideck/model/delete_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_location_response.py b/src/apideck/model/delete_location_response.py index 7197ba412..9c10eccfb 100644 --- a/src/apideck/model/delete_location_response.py +++ b/src/apideck/model/delete_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_merchant_response.py b/src/apideck/model/delete_merchant_response.py index 18512e92a..469bec8b4 100644 --- a/src/apideck/model/delete_merchant_response.py +++ b/src/apideck/model/delete_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_message_response.py b/src/apideck/model/delete_message_response.py index 02571505f..e109304f5 100644 --- a/src/apideck/model/delete_message_response.py +++ b/src/apideck/model/delete_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_modifier_group_response.py b/src/apideck/model/delete_modifier_group_response.py index 6bc90d474..eda4a5a7b 100644 --- a/src/apideck/model/delete_modifier_group_response.py +++ b/src/apideck/model/delete_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_modifier_response.py b/src/apideck/model/delete_modifier_response.py index 324084a55..70902c2f0 100644 --- a/src/apideck/model/delete_modifier_response.py +++ b/src/apideck/model/delete_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_note_response.py b/src/apideck/model/delete_note_response.py index 37546b410..da6924855 100644 --- a/src/apideck/model/delete_note_response.py +++ b/src/apideck/model/delete_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_opportunity_response.py b/src/apideck/model/delete_opportunity_response.py index 817b519b5..83e0368f5 100644 --- a/src/apideck/model/delete_opportunity_response.py +++ b/src/apideck/model/delete_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_order_response.py b/src/apideck/model/delete_order_response.py index 797751c3b..e646283fd 100644 --- a/src/apideck/model/delete_order_response.py +++ b/src/apideck/model/delete_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_order_type_response.py b/src/apideck/model/delete_order_type_response.py index 10fba6e9c..e8a29c254 100644 --- a/src/apideck/model/delete_order_type_response.py +++ b/src/apideck/model/delete_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_payment_response.py b/src/apideck/model/delete_payment_response.py index a22b0c2bd..6c00d38bc 100644 --- a/src/apideck/model/delete_payment_response.py +++ b/src/apideck/model/delete_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_pipeline_response.py b/src/apideck/model/delete_pipeline_response.py index 9fd94c72e..6aa699efb 100644 --- a/src/apideck/model/delete_pipeline_response.py +++ b/src/apideck/model/delete_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_pos_payment_response.py b/src/apideck/model/delete_pos_payment_response.py index f40bf2a28..1cefe28d3 100644 --- a/src/apideck/model/delete_pos_payment_response.py +++ b/src/apideck/model/delete_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_product_response.py b/src/apideck/model/delete_product_response.py new file mode 100644 index 000000000..9555122af --- /dev/null +++ b/src/apideck/model/delete_product_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class DeleteProductResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/delete_shared_link_response.py b/src/apideck/model/delete_shared_link_response.py index 3ee695db5..27892c2e5 100644 --- a/src/apideck/model/delete_shared_link_response.py +++ b/src/apideck/model/delete_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_supplier_response.py b/src/apideck/model/delete_supplier_response.py index 4c0c1f5ca..763ca40b9 100644 --- a/src/apideck/model/delete_supplier_response.py +++ b/src/apideck/model/delete_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_tax_rate_response.py b/src/apideck/model/delete_tax_rate_response.py index 0047bcb51..7eb7e2831 100644 --- a/src/apideck/model/delete_tax_rate_response.py +++ b/src/apideck/model/delete_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_tender_response.py b/src/apideck/model/delete_tender_response.py index 7dcb620d7..ccbec7cce 100644 --- a/src/apideck/model/delete_tender_response.py +++ b/src/apideck/model/delete_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_ticket_response.py b/src/apideck/model/delete_ticket_response.py new file mode 100644 index 000000000..78c11a11e --- /dev/null +++ b/src/apideck/model/delete_ticket_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class DeleteTicketResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """DeleteTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/delete_time_off_request_response.py b/src/apideck/model/delete_time_off_request_response.py index 750cc6c5a..6f7a113ae 100644 --- a/src/apideck/model/delete_time_off_request_response.py +++ b/src/apideck/model/delete_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_upload_session_response.py b/src/apideck/model/delete_upload_session_response.py index 384909841..5a50fd5dc 100644 --- a/src/apideck/model/delete_upload_session_response.py +++ b/src/apideck/model/delete_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_user_response.py b/src/apideck/model/delete_user_response.py index 3d9ec751f..f5d8bcb2a 100644 --- a/src/apideck/model/delete_user_response.py +++ b/src/apideck/model/delete_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delete_webhook_response.py b/src/apideck/model/delete_webhook_response.py index fd920d33e..625d16bbf 100644 --- a/src/apideck/model/delete_webhook_response.py +++ b/src/apideck/model/delete_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/delivery_url.py b/src/apideck/model/delivery_url.py index 566e66262..1bc6f7ccc 100644 --- a/src/apideck/model/delivery_url.py +++ b/src/apideck/model/delivery_url.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/department.py b/src/apideck/model/department.py index 79901f322..78e7a0189 100644 --- a/src/apideck/model/department.py +++ b/src/apideck/model/department.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -150,15 +150,15 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 parent_id (str): Parent ID. [optional] # noqa: E501 name (str, none_type): Department name. [optional] # noqa: E501 code (str, none_type): [optional] # noqa: E501 description (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -240,15 +240,15 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 parent_id (str): Parent ID. [optional] # noqa: E501 name (str, none_type): Department name. [optional] # noqa: E501 code (str, none_type): [optional] # noqa: E501 description (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/drive.py b/src/apideck/model/drive.py index 4649acd97..1bc14712f 100644 --- a/src/apideck/model/drive.py +++ b/src/apideck/model/drive.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -115,7 +115,7 @@ def _from_openapi_data(cls, id, name, *args, **kwargs): # noqa: E501 """Drive - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. name (str): The name of the drive Keyword Args: @@ -149,11 +149,11 @@ def _from_openapi_data(cls, id, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - description (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -239,11 +239,11 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - description (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/drive_group.py b/src/apideck/model/drive_group.py index ec22a4cd0..24c688a79 100644 --- a/src/apideck/model/drive_group.py +++ b/src/apideck/model/drive_group.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -117,7 +117,7 @@ def _from_openapi_data(cls, id, name, *args, **kwargs): # noqa: E501 """DriveGroup - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. name (str): The name of the drive group Keyword Args: @@ -152,11 +152,11 @@ def _from_openapi_data(cls, id, name, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) display_name (str): The display name of the drive group. [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -243,11 +243,11 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) display_name (str): The display name of the drive group. [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/drive_groups_filter.py b/src/apideck/model/drive_groups_filter.py index cc33cfd3a..9e72bc373 100644 --- a/src/apideck/model/drive_groups_filter.py +++ b/src/apideck/model/drive_groups_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/drives_filter.py b/src/apideck/model/drives_filter.py index 5cd751d97..8339289bc 100644 --- a/src/apideck/model/drives_filter.py +++ b/src/apideck/model/drives_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/ecommerce_address.py b/src/apideck/model/ecommerce_address.py new file mode 100644 index 000000000..4985b45d1 --- /dev/null +++ b/src/apideck/model/ecommerce_address.py @@ -0,0 +1,282 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceAddress(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('country',): { + 'max_length': 2, + }, + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'line1': (str,), # noqa: E501 + 'line2': (str,), # noqa: E501 + 'company_name': (str,), # noqa: E501 + 'city': (str,), # noqa: E501 + 'state': (str,), # noqa: E501 + 'postal_code': (str,), # noqa: E501 + 'country': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'line1': 'line1', # noqa: E501 + 'line2': 'line2', # noqa: E501 + 'company_name': 'company_name', # noqa: E501 + 'city': 'city', # noqa: E501 + 'state': 'state', # noqa: E501 + 'postal_code': 'postal_code', # noqa: E501 + 'country': 'country', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceAddress - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + line1 (str): Address line 1 of the billing address.. [optional] # noqa: E501 + line2 (str): Address line 2 of the billing address.. [optional] # noqa: E501 + company_name (str): Company name of the customer. [optional] # noqa: E501 + city (str): City of the billing address.. [optional] # noqa: E501 + state (str): State/province of the billing address.. [optional] # noqa: E501 + postal_code (str): Postal/ZIP code of the billing address.. [optional] # noqa: E501 + country (str): Country of the billing address.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceAddress - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + line1 (str): Address line 1 of the billing address.. [optional] # noqa: E501 + line2 (str): Address line 2 of the billing address.. [optional] # noqa: E501 + company_name (str): Company name of the customer. [optional] # noqa: E501 + city (str): City of the billing address.. [optional] # noqa: E501 + state (str): State/province of the billing address.. [optional] # noqa: E501 + postal_code (str): Postal/ZIP code of the billing address.. [optional] # noqa: E501 + country (str): Country of the billing address.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_customer.py b/src/apideck/model/ecommerce_customer.py new file mode 100644 index 000000000..75d56c027 --- /dev/null +++ b/src/apideck/model/ecommerce_customer.py @@ -0,0 +1,319 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.currency import Currency + from apideck.model.ecommerce_customer_addresses import EcommerceCustomerAddresses + from apideck.model.email import Email + from apideck.model.linked_ecommerce_order import LinkedEcommerceOrder + from apideck.model.phone_number import PhoneNumber + globals()['Currency'] = Currency + globals()['EcommerceCustomerAddresses'] = EcommerceCustomerAddresses + globals()['Email'] = Email + globals()['LinkedEcommerceOrder'] = LinkedEcommerceOrder + globals()['PhoneNumber'] = PhoneNumber + + +class EcommerceCustomer(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('status',): { + 'ACTIVE': "active", + 'ARCHIVED': "archived", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'first_name': (str,), # noqa: E501 + 'last_name': (str,), # noqa: E501 + 'company_name': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'currency': (Currency,), # noqa: E501 + 'emails': ([Email],), # noqa: E501 + 'phone_numbers': ([PhoneNumber],), # noqa: E501 + 'addresses': ([EcommerceCustomerAddresses],), # noqa: E501 + 'orders': ([LinkedEcommerceOrder],), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'first_name': 'first_name', # noqa: E501 + 'last_name': 'last_name', # noqa: E501 + 'company_name': 'company_name', # noqa: E501 + 'status': 'status', # noqa: E501 + 'currency': 'currency', # noqa: E501 + 'emails': 'emails', # noqa: E501 + 'phone_numbers': 'phone_numbers', # noqa: E501 + 'addresses': 'addresses', # noqa: E501 + 'orders': 'orders', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'created_at', # noqa: E501 + 'updated_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """EcommerceCustomer - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): Full name of the customer. [optional] # noqa: E501 + first_name (str): First name of the customer. [optional] # noqa: E501 + last_name (str): Last name of the customer. [optional] # noqa: E501 + company_name (str): Company name of the customer. [optional] # noqa: E501 + status (str): The current status of the customer. [optional] # noqa: E501 + currency (Currency): [optional] # noqa: E501 + emails ([Email]): An array of email addresses for the customer.. [optional] # noqa: E501 + phone_numbers ([PhoneNumber]): An array of phone numbers for the customer.. [optional] # noqa: E501 + addresses ([EcommerceCustomerAddresses]): An array of addresses for the customer.. [optional] # noqa: E501 + orders ([LinkedEcommerceOrder]): [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceCustomer - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): Full name of the customer. [optional] # noqa: E501 + first_name (str): First name of the customer. [optional] # noqa: E501 + last_name (str): Last name of the customer. [optional] # noqa: E501 + company_name (str): Company name of the customer. [optional] # noqa: E501 + status (str): The current status of the customer. [optional] # noqa: E501 + currency (Currency): [optional] # noqa: E501 + emails ([Email]): An array of email addresses for the customer.. [optional] # noqa: E501 + phone_numbers ([PhoneNumber]): An array of phone numbers for the customer.. [optional] # noqa: E501 + addresses ([EcommerceCustomerAddresses]): An array of addresses for the customer.. [optional] # noqa: E501 + orders ([LinkedEcommerceOrder]): [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_customer_addresses.py b/src/apideck/model/ecommerce_customer_addresses.py new file mode 100644 index 000000000..def2a9f2c --- /dev/null +++ b/src/apideck/model/ecommerce_customer_addresses.py @@ -0,0 +1,289 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceCustomerAddresses(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'BILLING': "billing", + 'SHIPPING': "shipping", + 'OTHER': "other", + }, + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'type': (str,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'line1': (str,), # noqa: E501 + 'line2': (str,), # noqa: E501 + 'city': (str,), # noqa: E501 + 'state': (str,), # noqa: E501 + 'postal_code': (str,), # noqa: E501 + 'country': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'type': 'type', # noqa: E501 + 'id': 'id', # noqa: E501 + 'line1': 'line1', # noqa: E501 + 'line2': 'line2', # noqa: E501 + 'city': 'city', # noqa: E501 + 'state': 'state', # noqa: E501 + 'postal_code': 'postal_code', # noqa: E501 + 'country': 'country', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceCustomerAddresses - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + line1 (str): First line of the street address of the customer. [optional] # noqa: E501 + line2 (str): Second line of the street address of the customer. [optional] # noqa: E501 + city (str): City of the customer. [optional] # noqa: E501 + state (str): State of the customer. [optional] # noqa: E501 + postal_code (str): Postal code of the customer. [optional] # noqa: E501 + country (str): Country of the customer. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceCustomerAddresses - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + type (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + line1 (str): First line of the street address of the customer. [optional] # noqa: E501 + line2 (str): Second line of the street address of the customer. [optional] # noqa: E501 + city (str): City of the customer. [optional] # noqa: E501 + state (str): State of the customer. [optional] # noqa: E501 + postal_code (str): Postal code of the customer. [optional] # noqa: E501 + country (str): Country of the customer. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_customers_filter.py b/src/apideck/model/ecommerce_customers_filter.py new file mode 100644 index 000000000..c38660ebb --- /dev/null +++ b/src/apideck/model/ecommerce_customers_filter.py @@ -0,0 +1,253 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceCustomersFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'email': (str,), # noqa: E501 + 'phone_number': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'email': 'email', # noqa: E501 + 'phone_number': 'phone_number', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceCustomersFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + email (str): Customer email address to filter on. [optional] # noqa: E501 + phone_number (str): Customer phone number to filter on. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceCustomersFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + email (str): Customer email address to filter on. [optional] # noqa: E501 + phone_number (str): Customer phone number to filter on. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_discount.py b/src/apideck/model/ecommerce_discount.py new file mode 100644 index 000000000..f22a47b60 --- /dev/null +++ b/src/apideck/model/ecommerce_discount.py @@ -0,0 +1,263 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceDiscount(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'code': (str,), # noqa: E501 + 'amount': (str,), # noqa: E501 + 'percentage': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'code': 'code', # noqa: E501 + 'amount': 'amount', # noqa: E501 + 'percentage': 'percentage', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceDiscount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + code (str): The code used to apply the discount.. [optional] # noqa: E501 + amount (str): The fixed amount of the discount.. [optional] # noqa: E501 + percentage (str): The percentage of the discount.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceDiscount - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + code (str): The code used to apply the discount.. [optional] # noqa: E501 + amount (str): The fixed amount of the discount.. [optional] # noqa: E501 + percentage (str): The percentage of the discount.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_order.py b/src/apideck/model/ecommerce_order.py new file mode 100644 index 000000000..a6a7751a3 --- /dev/null +++ b/src/apideck/model/ecommerce_order.py @@ -0,0 +1,369 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.currency import Currency + from apideck.model.ecommerce_address import EcommerceAddress + from apideck.model.ecommerce_discount import EcommerceDiscount + from apideck.model.ecommerce_order_line_item import EcommerceOrderLineItem + from apideck.model.ecommerce_order_status import EcommerceOrderStatus + from apideck.model.linked_ecommerce_customer import LinkedEcommerceCustomer + from apideck.model.tracking_item import TrackingItem + globals()['Currency'] = Currency + globals()['EcommerceAddress'] = EcommerceAddress + globals()['EcommerceDiscount'] = EcommerceDiscount + globals()['EcommerceOrderLineItem'] = EcommerceOrderLineItem + globals()['EcommerceOrderStatus'] = EcommerceOrderStatus + globals()['LinkedEcommerceCustomer'] = LinkedEcommerceCustomer + globals()['TrackingItem'] = TrackingItem + + +class EcommerceOrder(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('payment_status',): { + 'PENDING': "pending", + 'AUTHORIZED': "authorized", + 'PAID': "paid", + 'PARTIAL': "partial", + 'REFUNDED': "refunded", + 'VOIDED': "voided", + 'UNKNOWN': "unknown", + }, + ('fulfillment_status',): { + 'PENDING': "pending", + 'SHIPPED': "shipped", + 'PARTIAL': "partial", + 'DELIVERED': "delivered", + 'CANCELLED': "cancelled", + 'RETURNED': "returned", + 'UNKNOWN': "unknown", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'order_number': (str,), # noqa: E501 + 'currency': (Currency,), # noqa: E501 + 'discounts': ([EcommerceDiscount],), # noqa: E501 + 'sub_total': (str,), # noqa: E501 + 'shipping_cost': (str,), # noqa: E501 + 'total_discount': (str,), # noqa: E501 + 'total_tax': (str,), # noqa: E501 + 'total_amount': (str,), # noqa: E501 + 'status': (EcommerceOrderStatus,), # noqa: E501 + 'payment_status': (str,), # noqa: E501 + 'fulfillment_status': (str,), # noqa: E501 + 'payment_method': (str,), # noqa: E501 + 'customer': (LinkedEcommerceCustomer,), # noqa: E501 + 'billing_address': (EcommerceAddress,), # noqa: E501 + 'shipping_address': (EcommerceAddress,), # noqa: E501 + 'tracking': ([TrackingItem],), # noqa: E501 + 'line_items': ([EcommerceOrderLineItem],), # noqa: E501 + 'note': (str,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'order_number': 'order_number', # noqa: E501 + 'currency': 'currency', # noqa: E501 + 'discounts': 'discounts', # noqa: E501 + 'sub_total': 'sub_total', # noqa: E501 + 'shipping_cost': 'shipping_cost', # noqa: E501 + 'total_discount': 'total_discount', # noqa: E501 + 'total_tax': 'total_tax', # noqa: E501 + 'total_amount': 'total_amount', # noqa: E501 + 'status': 'status', # noqa: E501 + 'payment_status': 'payment_status', # noqa: E501 + 'fulfillment_status': 'fulfillment_status', # noqa: E501 + 'payment_method': 'payment_method', # noqa: E501 + 'customer': 'customer', # noqa: E501 + 'billing_address': 'billing_address', # noqa: E501 + 'shipping_address': 'shipping_address', # noqa: E501 + 'tracking': 'tracking', # noqa: E501 + 'line_items': 'line_items', # noqa: E501 + 'note': 'note', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'created_at', # noqa: E501 + 'updated_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """EcommerceOrder - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + order_number (str): Order number, if any.. [optional] # noqa: E501 + currency (Currency): [optional] # noqa: E501 + discounts ([EcommerceDiscount]): [optional] # noqa: E501 + sub_total (str): Sub-total amount, normally before tax.. [optional] # noqa: E501 + shipping_cost (str): Shipping cost, if any.. [optional] # noqa: E501 + total_discount (str): Total discount, if any.. [optional] # noqa: E501 + total_tax (str): Total tax, if any.. [optional] # noqa: E501 + total_amount (str): Total amount due.. [optional] # noqa: E501 + status (EcommerceOrderStatus): [optional] # noqa: E501 + payment_status (str): Current payment status of the order.. [optional] # noqa: E501 + fulfillment_status (str): Current fulfillment status of the order.. [optional] # noqa: E501 + payment_method (str): Payment method used for this order.. [optional] # noqa: E501 + customer (LinkedEcommerceCustomer): [optional] # noqa: E501 + billing_address (EcommerceAddress): [optional] # noqa: E501 + shipping_address (EcommerceAddress): [optional] # noqa: E501 + tracking ([TrackingItem]): [optional] # noqa: E501 + line_items ([EcommerceOrderLineItem]): [optional] # noqa: E501 + note (str): Note for the order.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceOrder - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + order_number (str): Order number, if any.. [optional] # noqa: E501 + currency (Currency): [optional] # noqa: E501 + discounts ([EcommerceDiscount]): [optional] # noqa: E501 + sub_total (str): Sub-total amount, normally before tax.. [optional] # noqa: E501 + shipping_cost (str): Shipping cost, if any.. [optional] # noqa: E501 + total_discount (str): Total discount, if any.. [optional] # noqa: E501 + total_tax (str): Total tax, if any.. [optional] # noqa: E501 + total_amount (str): Total amount due.. [optional] # noqa: E501 + status (EcommerceOrderStatus): [optional] # noqa: E501 + payment_status (str): Current payment status of the order.. [optional] # noqa: E501 + fulfillment_status (str): Current fulfillment status of the order.. [optional] # noqa: E501 + payment_method (str): Payment method used for this order.. [optional] # noqa: E501 + customer (LinkedEcommerceCustomer): [optional] # noqa: E501 + billing_address (EcommerceAddress): [optional] # noqa: E501 + shipping_address (EcommerceAddress): [optional] # noqa: E501 + tracking ([TrackingItem]): [optional] # noqa: E501 + line_items ([EcommerceOrderLineItem]): [optional] # noqa: E501 + note (str): Note for the order.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_order_line_item.py b/src/apideck/model/ecommerce_order_line_item.py new file mode 100644 index 000000000..d155184ed --- /dev/null +++ b/src/apideck/model/ecommerce_order_line_item.py @@ -0,0 +1,320 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_discount import EcommerceDiscount + globals()['EcommerceDiscount'] = EcommerceDiscount + + +class EcommerceOrderLineItem(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'name': (str,), # noqa: E501 + 'quantity': (str,), # noqa: E501 + 'total_amount': (str,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'product_id': (str,), # noqa: E501 + 'variant_id': (str,), # noqa: E501 + 'sku': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'options': ([bool, date, datetime, dict, float, int, list, str, none_type],), # noqa: E501 + 'unit_price': (str,), # noqa: E501 + 'tax_rate': (str,), # noqa: E501 + 'tax_amount': (str,), # noqa: E501 + 'discounts': ([EcommerceDiscount],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'quantity': 'quantity', # noqa: E501 + 'total_amount': 'total_amount', # noqa: E501 + 'id': 'id', # noqa: E501 + 'product_id': 'product_id', # noqa: E501 + 'variant_id': 'variant_id', # noqa: E501 + 'sku': 'sku', # noqa: E501 + 'description': 'description', # noqa: E501 + 'options': 'options', # noqa: E501 + 'unit_price': 'unit_price', # noqa: E501 + 'tax_rate': 'tax_rate', # noqa: E501 + 'tax_amount': 'tax_amount', # noqa: E501 + 'discounts': 'discounts', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, name, quantity, total_amount, *args, **kwargs): # noqa: E501 + """EcommerceOrderLineItem - a model defined in OpenAPI + + Args: + name (str): The name of the product or variant associated with the line item. + quantity (str): The quantity of the product or variant associated with the line item. + total_amount (str): The total amount for the product(s) or variant associated with the line item, including taxes and discounts. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + product_id (str): A unique identifier for the product associated with the line item.. [optional] # noqa: E501 + variant_id (str): A unique identifier for the variant of the product associated with the line item, if applicable.. [optional] # noqa: E501 + sku (str): The SKU of the product or variant associated with the line item.. [optional] # noqa: E501 + description (str): The description of the product or variant associated with the line item.. [optional] # noqa: E501 + options ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 + unit_price (str): The unit price of the product or variant associated with the line item.. [optional] # noqa: E501 + tax_rate (str): The tax rate applied to the product or variant associated with the line item.. [optional] # noqa: E501 + tax_amount (str): The total tax amount applied to the product or variant associated with the line item.. [optional] # noqa: E501 + discounts ([EcommerceDiscount]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.name = name + self.quantity = quantity + self.total_amount = total_amount + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, name, quantity, total_amount, *args, **kwargs): # noqa: E501 + """EcommerceOrderLineItem - a model defined in OpenAPI + + Args: + name (str): The name of the product or variant associated with the line item. + quantity (str): The quantity of the product or variant associated with the line item. + total_amount (str): The total amount for the product(s) or variant associated with the line item, including taxes and discounts. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + product_id (str): A unique identifier for the product associated with the line item.. [optional] # noqa: E501 + variant_id (str): A unique identifier for the variant of the product associated with the line item, if applicable.. [optional] # noqa: E501 + sku (str): The SKU of the product or variant associated with the line item.. [optional] # noqa: E501 + description (str): The description of the product or variant associated with the line item.. [optional] # noqa: E501 + options ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 + unit_price (str): The unit price of the product or variant associated with the line item.. [optional] # noqa: E501 + tax_rate (str): The tax rate applied to the product or variant associated with the line item.. [optional] # noqa: E501 + tax_amount (str): The total tax amount applied to the product or variant associated with the line item.. [optional] # noqa: E501 + discounts ([EcommerceDiscount]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.name = name + self.quantity = quantity + self.total_amount = total_amount + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_order_status.py b/src/apideck/model/ecommerce_order_status.py new file mode 100644 index 000000000..2890ed11a --- /dev/null +++ b/src/apideck/model/ecommerce_order_status.py @@ -0,0 +1,285 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceOrderStatus(ModelSimple): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('value',): { + 'ACTIVE': "active", + 'COMPLETED': "completed", + 'CANCELLED': "cancelled", + 'ARCHIVED': "archived", + 'UNKNOWN': "unknown", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'value': (str,), + } + + @cached_property + def discriminator(): + return None + + + attribute_map = {} + + read_only_vars = set() + + _composed_schemas = None + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): + """EcommerceOrderStatus - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): Current status of the order.., must be one of ["active", "completed", "cancelled", "archived", "unknown", ] # noqa: E501 + + Keyword Args: + value (str): Current status of the order.., must be one of ["active", "completed", "cancelled", "archived", "unknown", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): + """EcommerceOrderStatus - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): Current status of the order.., must be one of ["active", "completed", "cancelled", "archived", "unknown", ] # noqa: E501 + + Keyword Args: + value (str): Current status of the order.., must be one of ["active", "completed", "cancelled", "archived", "unknown", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + return self diff --git a/src/apideck/model/ecommerce_orders_filter.py b/src/apideck/model/ecommerce_orders_filter.py new file mode 100644 index 000000000..cbdfe6ead --- /dev/null +++ b/src/apideck/model/ecommerce_orders_filter.py @@ -0,0 +1,249 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceOrdersFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'email': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'email': 'email', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceOrdersFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + email (str): Customer email address to filter on. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceOrdersFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + email (str): Customer email address to filter on. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_product.py b/src/apideck/model/ecommerce_product.py new file mode 100644 index 000000000..53809844e --- /dev/null +++ b/src/apideck/model/ecommerce_product.py @@ -0,0 +1,329 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_product_categories import EcommerceProductCategories + from apideck.model.ecommerce_product_images import EcommerceProductImages + from apideck.model.ecommerce_product_options import EcommerceProductOptions + from apideck.model.ecommerce_product_variants import EcommerceProductVariants + globals()['EcommerceProductCategories'] = EcommerceProductCategories + globals()['EcommerceProductImages'] = EcommerceProductImages + globals()['EcommerceProductOptions'] = EcommerceProductOptions + globals()['EcommerceProductVariants'] = EcommerceProductVariants + + +class EcommerceProduct(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('status',): { + 'ACTIVE': "active", + 'ARCHIVED': "archived", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'price': (str,), # noqa: E501 + 'sku': (str,), # noqa: E501 + 'inventory_quantity': (str,), # noqa: E501 + 'images': ([EcommerceProductImages],), # noqa: E501 + 'weight': (str,), # noqa: E501 + 'weight_unit': (str,), # noqa: E501 + 'options': ([EcommerceProductOptions],), # noqa: E501 + 'variants': ([EcommerceProductVariants],), # noqa: E501 + 'tags': ([str],), # noqa: E501 + 'categories': ([EcommerceProductCategories],), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'description': 'description', # noqa: E501 + 'status': 'status', # noqa: E501 + 'price': 'price', # noqa: E501 + 'sku': 'sku', # noqa: E501 + 'inventory_quantity': 'inventory_quantity', # noqa: E501 + 'images': 'images', # noqa: E501 + 'weight': 'weight', # noqa: E501 + 'weight_unit': 'weight_unit', # noqa: E501 + 'options': 'options', # noqa: E501 + 'variants': 'variants', # noqa: E501 + 'tags': 'tags', # noqa: E501 + 'categories': 'categories', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'created_at', # noqa: E501 + 'updated_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """EcommerceProduct - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The name of the product as it should be displayed to customers.. [optional] # noqa: E501 + description (str): A detailed description of the product.. [optional] # noqa: E501 + status (str): The current status of the product (active or archived).. [optional] # noqa: E501 + price (str): The price of the product.. [optional] # noqa: E501 + sku (str): The stock keeping unit of the product.. [optional] # noqa: E501 + inventory_quantity (str): The quantity of the product in stock.. [optional] # noqa: E501 + images ([EcommerceProductImages]): An array of image URLs for the product.. [optional] # noqa: E501 + weight (str): The weight of the product.. [optional] # noqa: E501 + weight_unit (str): The unit of measurement for the weight of the product.. [optional] # noqa: E501 + options ([EcommerceProductOptions]): An array of options for the product.. [optional] # noqa: E501 + variants ([EcommerceProductVariants]): [optional] # noqa: E501 + tags ([str]): An array of tags for the product, used for organization and searching.. [optional] # noqa: E501 + categories ([EcommerceProductCategories]): An array of categories for the product, used for organization and searching.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceProduct - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The name of the product as it should be displayed to customers.. [optional] # noqa: E501 + description (str): A detailed description of the product.. [optional] # noqa: E501 + status (str): The current status of the product (active or archived).. [optional] # noqa: E501 + price (str): The price of the product.. [optional] # noqa: E501 + sku (str): The stock keeping unit of the product.. [optional] # noqa: E501 + inventory_quantity (str): The quantity of the product in stock.. [optional] # noqa: E501 + images ([EcommerceProductImages]): An array of image URLs for the product.. [optional] # noqa: E501 + weight (str): The weight of the product.. [optional] # noqa: E501 + weight_unit (str): The unit of measurement for the weight of the product.. [optional] # noqa: E501 + options ([EcommerceProductOptions]): An array of options for the product.. [optional] # noqa: E501 + variants ([EcommerceProductVariants]): [optional] # noqa: E501 + tags ([str]): An array of tags for the product, used for organization and searching.. [optional] # noqa: E501 + categories ([EcommerceProductCategories]): An array of categories for the product, used for organization and searching.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_product_categories.py b/src/apideck/model/ecommerce_product_categories.py new file mode 100644 index 000000000..40e1874d4 --- /dev/null +++ b/src/apideck/model/ecommerce_product_categories.py @@ -0,0 +1,260 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceProductCategories(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceProductCategories - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + name (str): The name of the category.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceProductCategories - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + name (str): The name of the category.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_product_images.py b/src/apideck/model/ecommerce_product_images.py new file mode 100644 index 000000000..7e520145a --- /dev/null +++ b/src/apideck/model/ecommerce_product_images.py @@ -0,0 +1,260 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceProductImages(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'url': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'url': 'url', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceProductImages - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + url (str): The URL of an image of the product.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceProductImages - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + url (str): The URL of an image of the product.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_product_images1.py b/src/apideck/model/ecommerce_product_images1.py new file mode 100644 index 000000000..88bd98d63 --- /dev/null +++ b/src/apideck/model/ecommerce_product_images1.py @@ -0,0 +1,260 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceProductImages1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'url': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'url': 'url', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceProductImages1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + url (str): The URL of an image of the variant.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceProductImages1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + url (str): The URL of an image of the variant.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_product_options.py b/src/apideck/model/ecommerce_product_options.py new file mode 100644 index 000000000..6938fba03 --- /dev/null +++ b/src/apideck/model/ecommerce_product_options.py @@ -0,0 +1,263 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceProductOptions(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'values': ([str],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'values': 'values', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceProductOptions - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for the option of the product.. [optional] # noqa: E501 + name (str): The name of the option for the product.. [optional] # noqa: E501 + values ([str]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceProductOptions - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for the option of the product.. [optional] # noqa: E501 + name (str): The name of the option for the product.. [optional] # noqa: E501 + values ([str]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_product_options1.py b/src/apideck/model/ecommerce_product_options1.py new file mode 100644 index 000000000..c2fcab97d --- /dev/null +++ b/src/apideck/model/ecommerce_product_options1.py @@ -0,0 +1,263 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceProductOptions1(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'value': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'value': 'value', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceProductOptions1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for the option of the variant.. [optional] # noqa: E501 + name (str): The name of the option for the variant.. [optional] # noqa: E501 + value (str): The value of the option for the variant.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceProductOptions1 - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for the option of the variant.. [optional] # noqa: E501 + name (str): The name of the option for the variant.. [optional] # noqa: E501 + value (str): The value of the option for the variant.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_product_variants.py b/src/apideck/model/ecommerce_product_variants.py new file mode 100644 index 000000000..a74ae331c --- /dev/null +++ b/src/apideck/model/ecommerce_product_variants.py @@ -0,0 +1,295 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_product_images1 import EcommerceProductImages1 + from apideck.model.ecommerce_product_options1 import EcommerceProductOptions1 + globals()['EcommerceProductImages1'] = EcommerceProductImages1 + globals()['EcommerceProductOptions1'] = EcommerceProductOptions1 + + +class EcommerceProductVariants(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'price': (str,), # noqa: E501 + 'sku': (str,), # noqa: E501 + 'inventory_quantity': (str,), # noqa: E501 + 'weight': (str,), # noqa: E501 + 'weight_unit': (str,), # noqa: E501 + 'options': ([EcommerceProductOptions1],), # noqa: E501 + 'images': ([EcommerceProductImages1],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'price': 'price', # noqa: E501 + 'sku': 'sku', # noqa: E501 + 'inventory_quantity': 'inventory_quantity', # noqa: E501 + 'weight': 'weight', # noqa: E501 + 'weight_unit': 'weight_unit', # noqa: E501 + 'options': 'options', # noqa: E501 + 'images': 'images', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EcommerceProductVariants - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for the variant of the product.. [optional] # noqa: E501 + name (str): The name for the variant, used for displaying to customers.. [optional] # noqa: E501 + price (str): The price of the variant.. [optional] # noqa: E501 + sku (str): The stock keeping unit of the variant.. [optional] # noqa: E501 + inventory_quantity (str): The quantity of the variant in stock.. [optional] # noqa: E501 + weight (str): The weight of the variant.. [optional] # noqa: E501 + weight_unit (str): The unit of measurement for the weight of the variant.. [optional] # noqa: E501 + options ([EcommerceProductOptions1]): [optional] # noqa: E501 + images ([EcommerceProductImages1]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceProductVariants - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for the variant of the product.. [optional] # noqa: E501 + name (str): The name for the variant, used for displaying to customers.. [optional] # noqa: E501 + price (str): The price of the variant.. [optional] # noqa: E501 + sku (str): The stock keeping unit of the variant.. [optional] # noqa: E501 + inventory_quantity (str): The quantity of the variant in stock.. [optional] # noqa: E501 + weight (str): The weight of the variant.. [optional] # noqa: E501 + weight_unit (str): The unit of measurement for the weight of the variant.. [optional] # noqa: E501 + options ([EcommerceProductOptions1]): [optional] # noqa: E501 + images ([EcommerceProductImages1]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/ecommerce_store.py b/src/apideck/model/ecommerce_store.py new file mode 100644 index 000000000..7f8b10cdc --- /dev/null +++ b/src/apideck/model/ecommerce_store.py @@ -0,0 +1,284 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EcommerceStore(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('store_url',): { + 'regex': { + 'pattern': r'^https?:\/\/', # noqa: E501 + }, + }, + ('admin_url',): { + 'regex': { + 'pattern': r'^https?:\/\/', # noqa: E501 + }, + }, + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'store_url': (str,), # noqa: E501 + 'admin_url': (str,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'store_url': 'store_url', # noqa: E501 + 'admin_url': 'admin_url', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'created_at', # noqa: E501 + 'updated_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """EcommerceStore - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The store's name. [optional] # noqa: E501 + store_url (str): The store's website URL. [optional] # noqa: E501 + admin_url (str): The store's admin login URL. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EcommerceStore - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The store's name. [optional] # noqa: E501 + store_url (str): The store's website URL. [optional] # noqa: E501 + admin_url (str): The store's admin login URL. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/email.py b/src/apideck/model/email.py index 0a9d378fe..63bde7d7b 100644 --- a/src/apideck/model/email.py +++ b/src/apideck/model/email.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/employee.py b/src/apideck/model/employee.py index 6adb091d1..0c09ec0ce 100644 --- a/src/apideck/model/employee.py +++ b/src/apideck/model/employee.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -38,9 +38,10 @@ def lazy_import(): from apideck.model.employee_employment_role import EmployeeEmploymentRole from apideck.model.employee_jobs import EmployeeJobs from apideck.model.employee_manager import EmployeeManager - from apideck.model.employee_partner import EmployeePartner from apideck.model.employee_team import EmployeeTeam + from apideck.model.employment_status import EmploymentStatus from apideck.model.gender import Gender + from apideck.model.person import Person from apideck.model.phone_number import PhoneNumber globals()['Address'] = Address globals()['ApplicantSocialLinks'] = ApplicantSocialLinks @@ -50,9 +51,10 @@ def lazy_import(): globals()['EmployeeEmploymentRole'] = EmployeeEmploymentRole globals()['EmployeeJobs'] = EmployeeJobs globals()['EmployeeManager'] = EmployeeManager - globals()['EmployeePartner'] = EmployeePartner globals()['EmployeeTeam'] = EmployeeTeam + globals()['EmploymentStatus'] = EmploymentStatus globals()['Gender'] = Gender + globals()['Person'] = Person globals()['PhoneNumber'] = PhoneNumber @@ -88,13 +90,6 @@ class Employee(ModelNormal): 'REDUNDANCY': "redundancy", 'OTHER': "other", }, - ('employment_status',): { - 'None': None, - 'ACTIVE': "active", - 'INACTIVE': "inactive", - 'TERMINATED': "terminated", - 'OTHER': "other", - }, } validations = { @@ -130,7 +125,7 @@ def openapi_types(): 'salutation': (str, none_type,), # noqa: E501 'title': (str, none_type,), # noqa: E501 'marital_status': (str, none_type,), # noqa: E501 - 'partner': (EmployeePartner,), # noqa: E501 + 'partner': (Person,), # noqa: E501 'division': (str, none_type,), # noqa: E501 'division_id': (str, none_type,), # noqa: E501 'department': (str, none_type,), # noqa: E501 @@ -142,7 +137,7 @@ def openapi_types(): 'employment_end_date': (str, none_type,), # noqa: E501 'leaving_reason': (str, none_type,), # noqa: E501 'employee_number': (str, none_type,), # noqa: E501 - 'employment_status': (str, none_type,), # noqa: E501 + 'employment_status': (EmploymentStatus,), # noqa: E501 'employment_role': (EmployeeEmploymentRole,), # noqa: E501 'manager': (EmployeeManager,), # noqa: E501 'direct_reports': ([str], none_type,), # noqa: E501 @@ -266,7 +261,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 """Employee - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -299,49 +294,49 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - display_name (str, none_type): [optional] # noqa: E501 - preferred_name (str, none_type): [optional] # noqa: E501 - initials (str, none_type): [optional] # noqa: E501 - salutation (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - marital_status (str, none_type): [optional] # noqa: E501 - partner (EmployeePartner): [optional] # noqa: E501 - division (str, none_type): The division the user is currently in.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + display_name (str, none_type): The name used to display the employee, often a combination of their first and last names.. [optional] # noqa: E501 + preferred_name (str, none_type): The name the employee prefers to be addressed by, which may be different from their legal name.. [optional] # noqa: E501 + initials (str, none_type): The initials of the person, usually derived from their first, middle, and last names.. [optional] # noqa: E501 + salutation (str, none_type): A formal salutation for the person. For example, 'Mr', 'Mrs'. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + marital_status (str, none_type): The marital status of the employee.. [optional] # noqa: E501 + partner (Person): [optional] # noqa: E501 + division (str, none_type): The division the person is currently in. Usually a collection of departments or teams or regions.. [optional] # noqa: E501 division_id (str, none_type): Unique identifier of the division this employee belongs to.. [optional] # noqa: E501 - department (str, none_type): The department the user is currently in.. [optional] # noqa: E501 + department (str, none_type): The department the person is currently in.. [optional] # noqa: E501 department_id (str, none_type): Unique identifier of the department ID this employee belongs to.. [optional] # noqa: E501 team (EmployeeTeam): [optional] # noqa: E501 - company_id (str, none_type): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 + company_id (str, none_type): The unique identifier of the company.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 employment_start_date (str, none_type): A Start Date is the date that the employee started working at the company. [optional] # noqa: E501 - employment_end_date (str, none_type): A Start Date is the date that the employee ended working at the company. [optional] # noqa: E501 - leaving_reason (str, none_type): The reason because the employment ended. [optional] # noqa: E501 + employment_end_date (str, none_type): An End Date is the date that the employee ended working at the company. [optional] # noqa: E501 + leaving_reason (str, none_type): The reason because the employment ended.. [optional] # noqa: E501 employee_number (str, none_type): An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company.. [optional] # noqa: E501 - employment_status (str, none_type): [optional] # noqa: E501 + employment_status (EmploymentStatus): [optional] # noqa: E501 employment_role (EmployeeEmploymentRole): [optional] # noqa: E501 manager (EmployeeManager): [optional] # noqa: E501 - direct_reports ([str], none_type): [optional] # noqa: E501 - social_security_number (str, none_type): [optional] # noqa: E501 - birthday (date, none_type): [optional] # noqa: E501 - deceased_on (date, none_type): [optional] # noqa: E501 - country_of_birth (str, none_type): country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + direct_reports ([str], none_type): The direct reports refer to the individuals who report directly to a person in the organizational hierarchy.. [optional] # noqa: E501 + social_security_number (str, none_type): A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions.. [optional] # noqa: E501 + birthday (date, none_type): The date of birth of the person.. [optional] # noqa: E501 + deceased_on (date, none_type): The date the person deceased.. [optional] # noqa: E501 + country_of_birth (str, none_type): Country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 gender (Gender): [optional] # noqa: E501 - pronouns (str, none_type): [optional] # noqa: E501 + pronouns (str, none_type): The preferred pronouns of the person.. [optional] # noqa: E501 preferred_language (str, none_type): language code according to ISO 639-1. For the United States - EN. [optional] # noqa: E501 languages ([str, none_type]): [optional] # noqa: E501 nationalities ([str, none_type]): [optional] # noqa: E501 - photo_url (str, none_type): [optional] # noqa: E501 - timezone (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 + timezone (str, none_type): The time zone related to the resource. The value is a string containing a standard time zone identifier, e.g. Europe/London.. [optional] # noqa: E501 source (str, none_type): When the employee is imported as a new hire, this field indicates what system (e.g. the name of the ATS) this employee was imported from.. [optional] # noqa: E501 source_id (str, none_type): Unique identifier of the employee in the system this employee was imported from (e.g. the ID in the ATS).. [optional] # noqa: E501 record_url (str, none_type): [optional] # noqa: E501 jobs ([EmployeeJobs]): [optional] # noqa: E501 compensations ([EmployeeCompensations]): [optional] # noqa: E501 - works_remote (bool, none_type): Indicates whether the employee works remote. [optional] # noqa: E501 + works_remote (bool, none_type): Indicates if the employee works from a remote location.. [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 @@ -352,12 +347,12 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 dietary_preference (str, none_type): Indicate the employee's dietary preference.. [optional] # noqa: E501 food_allergies ([str], none_type): Indicate the employee's food allergies.. [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -440,49 +435,49 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - display_name (str, none_type): [optional] # noqa: E501 - preferred_name (str, none_type): [optional] # noqa: E501 - initials (str, none_type): [optional] # noqa: E501 - salutation (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - marital_status (str, none_type): [optional] # noqa: E501 - partner (EmployeePartner): [optional] # noqa: E501 - division (str, none_type): The division the user is currently in.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + display_name (str, none_type): The name used to display the employee, often a combination of their first and last names.. [optional] # noqa: E501 + preferred_name (str, none_type): The name the employee prefers to be addressed by, which may be different from their legal name.. [optional] # noqa: E501 + initials (str, none_type): The initials of the person, usually derived from their first, middle, and last names.. [optional] # noqa: E501 + salutation (str, none_type): A formal salutation for the person. For example, 'Mr', 'Mrs'. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + marital_status (str, none_type): The marital status of the employee.. [optional] # noqa: E501 + partner (Person): [optional] # noqa: E501 + division (str, none_type): The division the person is currently in. Usually a collection of departments or teams or regions.. [optional] # noqa: E501 division_id (str, none_type): Unique identifier of the division this employee belongs to.. [optional] # noqa: E501 - department (str, none_type): The department the user is currently in.. [optional] # noqa: E501 + department (str, none_type): The department the person is currently in.. [optional] # noqa: E501 department_id (str, none_type): Unique identifier of the department ID this employee belongs to.. [optional] # noqa: E501 team (EmployeeTeam): [optional] # noqa: E501 - company_id (str, none_type): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 + company_id (str, none_type): The unique identifier of the company.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 employment_start_date (str, none_type): A Start Date is the date that the employee started working at the company. [optional] # noqa: E501 - employment_end_date (str, none_type): A Start Date is the date that the employee ended working at the company. [optional] # noqa: E501 - leaving_reason (str, none_type): The reason because the employment ended. [optional] # noqa: E501 + employment_end_date (str, none_type): An End Date is the date that the employee ended working at the company. [optional] # noqa: E501 + leaving_reason (str, none_type): The reason because the employment ended.. [optional] # noqa: E501 employee_number (str, none_type): An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company.. [optional] # noqa: E501 - employment_status (str, none_type): [optional] # noqa: E501 + employment_status (EmploymentStatus): [optional] # noqa: E501 employment_role (EmployeeEmploymentRole): [optional] # noqa: E501 manager (EmployeeManager): [optional] # noqa: E501 - direct_reports ([str], none_type): [optional] # noqa: E501 - social_security_number (str, none_type): [optional] # noqa: E501 - birthday (date, none_type): [optional] # noqa: E501 - deceased_on (date, none_type): [optional] # noqa: E501 - country_of_birth (str, none_type): country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + direct_reports ([str], none_type): The direct reports refer to the individuals who report directly to a person in the organizational hierarchy.. [optional] # noqa: E501 + social_security_number (str, none_type): A unique identifier assigned by the government. This field is considered sensitive information and may be subject to special security and privacy restrictions.. [optional] # noqa: E501 + birthday (date, none_type): The date of birth of the person.. [optional] # noqa: E501 + deceased_on (date, none_type): The date the person deceased.. [optional] # noqa: E501 + country_of_birth (str, none_type): Country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 gender (Gender): [optional] # noqa: E501 - pronouns (str, none_type): [optional] # noqa: E501 + pronouns (str, none_type): The preferred pronouns of the person.. [optional] # noqa: E501 preferred_language (str, none_type): language code according to ISO 639-1. For the United States - EN. [optional] # noqa: E501 languages ([str, none_type]): [optional] # noqa: E501 nationalities ([str, none_type]): [optional] # noqa: E501 - photo_url (str, none_type): [optional] # noqa: E501 - timezone (str, none_type): [optional] # noqa: E501 + photo_url (str, none_type): The URL of the photo of a person.. [optional] # noqa: E501 + timezone (str, none_type): The time zone related to the resource. The value is a string containing a standard time zone identifier, e.g. Europe/London.. [optional] # noqa: E501 source (str, none_type): When the employee is imported as a new hire, this field indicates what system (e.g. the name of the ATS) this employee was imported from.. [optional] # noqa: E501 source_id (str, none_type): Unique identifier of the employee in the system this employee was imported from (e.g. the ID in the ATS).. [optional] # noqa: E501 record_url (str, none_type): [optional] # noqa: E501 jobs ([EmployeeJobs]): [optional] # noqa: E501 compensations ([EmployeeCompensations]): [optional] # noqa: E501 - works_remote (bool, none_type): Indicates whether the employee works remote. [optional] # noqa: E501 + works_remote (bool, none_type): Indicates if the employee works from a remote location.. [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 @@ -493,12 +488,12 @@ def __init__(self, *args, **kwargs): # noqa: E501 dietary_preference (str, none_type): Indicate the employee's dietary preference.. [optional] # noqa: E501 food_allergies ([str], none_type): Indicate the employee's food allergies.. [optional] # noqa: E501 tags ([str]): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/employee_compensations.py b/src/apideck/model/employee_compensations.py index 3c46c32ee..2946f02b9 100644 --- a/src/apideck/model/employee_compensations.py +++ b/src/apideck/model/employee_compensations.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -162,13 +162,13 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 job_id (str): The ID of the job to which the compensation belongs.. [optional] # noqa: E501 rate (float): The amount paid per payment unit.. [optional] # noqa: E501 payment_unit (PaymentUnit): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 flsa_status (str): The FLSA status for this compensation.. [optional] # noqa: E501 - effective_date (str): The effective date for this compensation.. [optional] # noqa: E501 + effective_date (str): The date on which a change to an employee's compensation takes effect.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -250,13 +250,13 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 job_id (str): The ID of the job to which the compensation belongs.. [optional] # noqa: E501 rate (float): The amount paid per payment unit.. [optional] # noqa: E501 payment_unit (PaymentUnit): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 flsa_status (str): The FLSA status for this compensation.. [optional] # noqa: E501 - effective_date (str): The effective date for this compensation.. [optional] # noqa: E501 + effective_date (str): The date on which a change to an employee's compensation takes effect.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/employee_employment_role.py b/src/apideck/model/employee_employment_role.py index 890cde3dc..26962527e 100644 --- a/src/apideck/model/employee_employment_role.py +++ b/src/apideck/model/employee_employment_role.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -61,7 +61,7 @@ class EmployeeEmploymentRole(ModelNormal): 'EMPLOYEE': "employee", 'FREELANCE': "freelance", 'TEMP': "temp", - 'INTERSHIP': "intership", + 'INTERNSHIP': "internship", 'OTHER': "other", }, ('sub_type',): { @@ -151,8 +151,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - type (str, none_type): [optional] # noqa: E501 - sub_type (str, none_type): [optional] # noqa: E501 + type (str, none_type): The type of employment relationship the employee has with the organization.. [optional] # noqa: E501 + sub_type (str, none_type): The work schedule of the employee.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -234,8 +234,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - type (str, none_type): [optional] # noqa: E501 - sub_type (str, none_type): [optional] # noqa: E501 + type (str, none_type): The type of employment relationship the employee has with the organization.. [optional] # noqa: E501 + sub_type (str, none_type): The work schedule of the employee.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/employee_jobs.py b/src/apideck/model/employee_jobs.py index 18ab5bc83..1667667db 100644 --- a/src/apideck/model/employee_jobs.py +++ b/src/apideck/model/employee_jobs.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -168,17 +168,17 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - employee_id (str): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - role (str, none_type): [optional] # noqa: E501 - start_date (date, none_type): [optional] # noqa: E501 - end_date (date, none_type): [optional] # noqa: E501 - compensation_rate (float): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + employee_id (str): A unique identifier for an object.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + role (str, none_type): The position and responsibilities of the person within the organization.. [optional] # noqa: E501 + start_date (date, none_type): The date on which the employee starts working in their current job role.. [optional] # noqa: E501 + end_date (date, none_type): The date on which the employee leaves or is expected to leave their current job role.. [optional] # noqa: E501 + compensation_rate (float): The rate of pay for the employee in their current job role.. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 payment_unit (PaymentUnit): [optional] # noqa: E501 - hired_at (date, none_type): [optional] # noqa: E501 - is_primary (bool, none_type): Indicates whether this the employee's primary job. [optional] # noqa: E501 + hired_at (date, none_type): The date on which the employee was hired by the organization. [optional] # noqa: E501 + is_primary (bool, none_type): Indicates whether this the employee's primary job.. [optional] # noqa: E501 location (Address): [optional] # noqa: E501 """ @@ -261,17 +261,17 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - employee_id (str): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - role (str, none_type): [optional] # noqa: E501 - start_date (date, none_type): [optional] # noqa: E501 - end_date (date, none_type): [optional] # noqa: E501 - compensation_rate (float): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + employee_id (str): A unique identifier for an object.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + role (str, none_type): The position and responsibilities of the person within the organization.. [optional] # noqa: E501 + start_date (date, none_type): The date on which the employee starts working in their current job role.. [optional] # noqa: E501 + end_date (date, none_type): The date on which the employee leaves or is expected to leave their current job role.. [optional] # noqa: E501 + compensation_rate (float): The rate of pay for the employee in their current job role.. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 payment_unit (PaymentUnit): [optional] # noqa: E501 - hired_at (date, none_type): [optional] # noqa: E501 - is_primary (bool, none_type): Indicates whether this the employee's primary job. [optional] # noqa: E501 + hired_at (date, none_type): The date on which the employee was hired by the organization. [optional] # noqa: E501 + is_primary (bool, none_type): Indicates whether this the employee's primary job.. [optional] # noqa: E501 location (Address): [optional] # noqa: E501 """ diff --git a/src/apideck/model/employee_manager.py b/src/apideck/model/employee_manager.py index b06bcba71..70e727cb1 100644 --- a/src/apideck/model/employee_manager.py +++ b/src/apideck/model/employee_manager.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -29,6 +29,10 @@ from apideck.exceptions import ApiAttributeError +def lazy_import(): + from apideck.model.employment_status import EmploymentStatus + globals()['EmploymentStatus'] = EmploymentStatus + class EmployeeManager(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. @@ -66,6 +70,7 @@ def additional_properties_type(): This must be a method because a model may have properties that are of type self, this must run after the class is loaded """ + lazy_import() return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 _nullable = False @@ -80,12 +85,14 @@ def openapi_types(): openapi_types (dict): The key is attribute name and the value is attribute type. """ + lazy_import() return { 'id': (str,), # noqa: E501 'name': (str, none_type,), # noqa: E501 'first_name': (str, none_type,), # noqa: E501 'last_name': (str, none_type,), # noqa: E501 'email': (str, none_type,), # noqa: E501 + 'employment_status': (EmploymentStatus,), # noqa: E501 } @cached_property @@ -99,6 +106,7 @@ def discriminator(): 'first_name': 'first_name', # noqa: E501 'last_name': 'last_name', # noqa: E501 'email': 'email', # noqa: E501 + 'employment_status': 'employment_status', # noqa: E501 } read_only_vars = { @@ -143,11 +151,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - name (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - email (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + name (str, none_type): The name of the manager, often a combination of their first and last names.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + email (str, none_type): The email address of the manager.. [optional] # noqa: E501 + employment_status (EmploymentStatus): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -229,11 +238,12 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - name (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - email (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + name (str, none_type): The name of the manager, often a combination of their first and last names.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + email (str, none_type): The email address of the manager.. [optional] # noqa: E501 + employment_status (EmploymentStatus): [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/employee_payroll.py b/src/apideck/model/employee_payroll.py index 361812fdc..daa3cd293 100644 --- a/src/apideck/model/employee_payroll.py +++ b/src/apideck/model/employee_payroll.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/employee_payrolls.py b/src/apideck/model/employee_payrolls.py index dcb64b440..3fce1b6bf 100644 --- a/src/apideck/model/employee_payrolls.py +++ b/src/apideck/model/employee_payrolls.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/employee_schedules.py b/src/apideck/model/employee_schedules.py index 47e6d290a..a776eb545 100644 --- a/src/apideck/model/employee_schedules.py +++ b/src/apideck/model/employee_schedules.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/employee_team.py b/src/apideck/model/employee_team.py index 34656f9e6..698580155 100644 --- a/src/apideck/model/employee_team.py +++ b/src/apideck/model/employee_team.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -136,8 +136,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str, none_type): [optional] # noqa: E501 - name (str, none_type): [optional] # noqa: E501 + id (str, none_type): The unique identifier of the team.. [optional] # noqa: E501 + name (str, none_type): The name of the team.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -219,8 +219,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str, none_type): [optional] # noqa: E501 - name (str, none_type): [optional] # noqa: E501 + id (str, none_type): The unique identifier of the team.. [optional] # noqa: E501 + name (str, none_type): The name of the team.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/employees_filter.py b/src/apideck/model/employees_filter.py index 0c3693b33..3c9775648 100644 --- a/src/apideck/model/employees_filter.py +++ b/src/apideck/model/employees_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -89,6 +89,7 @@ def openapi_types(): 'manager_id': (str,), # noqa: E501 'employment_status': (str,), # noqa: E501 'employee_number': (str,), # noqa: E501 + 'department_id': (str,), # noqa: E501 } @cached_property @@ -105,6 +106,7 @@ def discriminator(): 'manager_id': 'manager_id', # noqa: E501 'employment_status': 'employment_status', # noqa: E501 'employee_number': 'employee_number', # noqa: E501 + 'department_id': 'department_id', # noqa: E501 } read_only_vars = { @@ -156,6 +158,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 manager_id (str): Manager id to filter on. [optional] # noqa: E501 employment_status (str): Employment status to filter on. [optional] # noqa: E501 employee_number (str): Employee number to filter on. [optional] # noqa: E501 + department_id (str): ID of the department to filter on. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -245,6 +248,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 manager_id (str): Manager id to filter on. [optional] # noqa: E501 employment_status (str): Employment status to filter on. [optional] # noqa: E501 employee_number (str): Employee number to filter on. [optional] # noqa: E501 + department_id (str): ID of the department to filter on. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/employees_sort.py b/src/apideck/model/employees_sort.py new file mode 100644 index 000000000..fc2e0b724 --- /dev/null +++ b/src/apideck/model/employees_sort.py @@ -0,0 +1,264 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.sort_direction import SortDirection + globals()['SortDirection'] = SortDirection + + +class EmployeesSort(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('by',): { + 'FIRST_NAME': "first_name", + 'LAST_NAME': "last_name", + 'CREATED_AT': "created_at", + 'UPDATED_AT': "updated_at", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'by': (str,), # noqa: E501 + 'direction': (SortDirection,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'by': 'by', # noqa: E501 + 'direction': 'direction', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """EmployeesSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Employees. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """EmployeesSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Employees. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/employment_status.py b/src/apideck/model/employment_status.py new file mode 100644 index 000000000..c220f97e2 --- /dev/null +++ b/src/apideck/model/employment_status.py @@ -0,0 +1,285 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class EmploymentStatus(ModelSimple): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('value',): { + 'None': None, + 'ACTIVE': "active", + 'INACTIVE': "inactive", + 'TERMINATED': "terminated", + 'OTHER': "other", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = True + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'value': (str,), + } + + @cached_property + def discriminator(): + return None + + + attribute_map = {} + + read_only_vars = set() + + _composed_schemas = None + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): + """EmploymentStatus - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status.., must be one of ["active", "inactive", "terminated", "other", ] # noqa: E501 + + Keyword Args: + value (str): The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status.., must be one of ["active", "inactive", "terminated", "other", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): + """EmploymentStatus - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status.., must be one of ["active", "inactive", "terminated", "other", ] # noqa: E501 + + Keyword Args: + value (str): The employment status of the employee, indicating whether they are currently employed, inactive, terminated, or in another status.., must be one of ["active", "inactive", "terminated", "other", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + return self diff --git a/src/apideck/model/error.py b/src/apideck/model/error.py index 2cc45e3da..46d41735f 100644 --- a/src/apideck/model/error.py +++ b/src/apideck/model/error.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/execute_base_url.py b/src/apideck/model/execute_base_url.py index 291407e16..b0f189b46 100644 --- a/src/apideck/model/execute_base_url.py +++ b/src/apideck/model/execute_base_url.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/execute_webhook_event_request.py b/src/apideck/model/execute_webhook_event_request.py index 860f53f75..94c96e4e3 100644 --- a/src/apideck/model/execute_webhook_event_request.py +++ b/src/apideck/model/execute_webhook_event_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/execute_webhook_events_request.py b/src/apideck/model/execute_webhook_events_request.py index ec4786582..e406a0974 100644 --- a/src/apideck/model/execute_webhook_events_request.py +++ b/src/apideck/model/execute_webhook_events_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/execute_webhook_response.py b/src/apideck/model/execute_webhook_response.py index d10433775..9da5d4a94 100644 --- a/src/apideck/model/execute_webhook_response.py +++ b/src/apideck/model/execute_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/file_storage_event_type.py b/src/apideck/model/file_storage_event_type.py index 9522909de..c1edc3701 100644 --- a/src/apideck/model/file_storage_event_type.py +++ b/src/apideck/model/file_storage_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/file_type.py b/src/apideck/model/file_type.py index da9d60055..73c9bad37 100644 --- a/src/apideck/model/file_type.py +++ b/src/apideck/model/file_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/files_filter.py b/src/apideck/model/files_filter.py index 9f7daa083..674fa9c52 100644 --- a/src/apideck/model/files_filter.py +++ b/src/apideck/model/files_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/files_search.py b/src/apideck/model/files_search.py index 7acb2c055..c1230153b 100644 --- a/src/apideck/model/files_search.py +++ b/src/apideck/model/files_search.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/files_sort.py b/src/apideck/model/files_sort.py index 83fef831a..f95912b05 100644 --- a/src/apideck/model/files_sort.py +++ b/src/apideck/model/files_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/folder.py b/src/apideck/model/folder.py index 54d355dbb..587a7ff4b 100644 --- a/src/apideck/model/folder.py +++ b/src/apideck/model/folder.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -169,16 +169,16 @@ def _from_openapi_data(cls, name, parent_folders, *args, **kwargs): # noqa: E50 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 description (str): Optional description of the folder. [optional] # noqa: E501 path (str): The full path of the folder (includes the folder name). [optional] # noqa: E501 size (int): The size of the folder in bytes. [optional] # noqa: E501 owner (Owner): [optional] # noqa: E501 parent_folders_complete (bool): Whether the list of parent folder is complete. Some connectors only return the direct parent of a folder. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,16 +266,16 @@ def __init__(self, name, parent_folders, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 description (str): Optional description of the folder. [optional] # noqa: E501 path (str): The full path of the folder (includes the folder name). [optional] # noqa: E501 size (int): The size of the folder in bytes. [optional] # noqa: E501 owner (Owner): [optional] # noqa: E501 parent_folders_complete (bool): Whether the list of parent folder is complete. Some connectors only return the direct parent of a folder. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/form_field.py b/src/apideck/model/form_field.py index 48d824d41..379fc46c0 100644 --- a/src/apideck/model/form_field.py +++ b/src/apideck/model/form_field.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/form_field_option.py b/src/apideck/model/form_field_option.py index 48aa65feb..c57255518 100644 --- a/src/apideck/model/form_field_option.py +++ b/src/apideck/model/form_field_option.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/form_field_option_group.py b/src/apideck/model/form_field_option_group.py index dc87043ba..1834cd077 100644 --- a/src/apideck/model/form_field_option_group.py +++ b/src/apideck/model/form_field_option_group.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/gender.py b/src/apideck/model/gender.py index 4aee6b687..5b7d67076 100644 --- a/src/apideck/model/gender.py +++ b/src/apideck/model/gender.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -109,10 +109,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str):, must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 + args[0] (str): The gender represents the gender identity of a person.., must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 Keyword Args: - value (str):, must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 + value (str): The gender represents the gender identity of a person.., must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -199,10 +199,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str):, must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 + args[0] (str): The gender represents the gender identity of a person.., must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 Keyword Args: - value (str):, must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 + value (str): The gender represents the gender identity of a person.., must be one of ["male", "female", "unisex", "other", "not_specified", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/src/apideck/model/get_activities_response.py b/src/apideck/model/get_activities_response.py index d3942f068..df8d6c75a 100644 --- a/src/apideck/model/get_activities_response.py +++ b/src/apideck/model/get_activities_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_activity_response.py b/src/apideck/model/get_activity_response.py index bc1781a5a..f48086588 100644 --- a/src/apideck/model/get_activity_response.py +++ b/src/apideck/model/get_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_api_resource_coverage_response.py b/src/apideck/model/get_api_resource_coverage_response.py index 2ced5c769..daed8a477 100644 --- a/src/apideck/model/get_api_resource_coverage_response.py +++ b/src/apideck/model/get_api_resource_coverage_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_api_resource_response.py b/src/apideck/model/get_api_resource_response.py index e2f664ed8..c380bbe72 100644 --- a/src/apideck/model/get_api_resource_response.py +++ b/src/apideck/model/get_api_resource_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_api_response.py b/src/apideck/model/get_api_response.py index 27891c37b..68cc05be5 100644 --- a/src/apideck/model/get_api_response.py +++ b/src/apideck/model/get_api_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_apis_response.py b/src/apideck/model/get_apis_response.py index 9571e43e5..40223281d 100644 --- a/src/apideck/model/get_apis_response.py +++ b/src/apideck/model/get_apis_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_applicant_response.py b/src/apideck/model/get_applicant_response.py index 531a82c74..1e30ad316 100644 --- a/src/apideck/model/get_applicant_response.py +++ b/src/apideck/model/get_applicant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_applicants_response.py b/src/apideck/model/get_applicants_response.py index 456c11167..e6201449c 100644 --- a/src/apideck/model/get_applicants_response.py +++ b/src/apideck/model/get_applicants_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_balance_sheet_response.py b/src/apideck/model/get_balance_sheet_response.py index 8e4f0caac..bbe60a89b 100644 --- a/src/apideck/model/get_balance_sheet_response.py +++ b/src/apideck/model/get_balance_sheet_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_bill_response.py b/src/apideck/model/get_bill_response.py index eace5ade6..f9d71de8f 100644 --- a/src/apideck/model/get_bill_response.py +++ b/src/apideck/model/get_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_bills_response.py b/src/apideck/model/get_bills_response.py index 84ab73dad..d666b5f5e 100644 --- a/src/apideck/model/get_bills_response.py +++ b/src/apideck/model/get_bills_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_collection_response.py b/src/apideck/model/get_collection_response.py new file mode 100644 index 000000000..432ac1392 --- /dev/null +++ b/src/apideck/model/get_collection_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.collection import Collection + globals()['Collection'] = Collection + + +class GetCollectionResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (Collection,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (Collection): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (Collection): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_collection_tags_response.py b/src/apideck/model/get_collection_tags_response.py new file mode 100644 index 000000000..ec17cf664 --- /dev/null +++ b/src/apideck/model/get_collection_tags_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.collection_tag import CollectionTag + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['CollectionTag'] = CollectionTag + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetCollectionTagsResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([CollectionTag],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionTagsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([CollectionTag]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionTagsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([CollectionTag]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_collection_user_response.py b/src/apideck/model/get_collection_user_response.py new file mode 100644 index 000000000..9d4f200e0 --- /dev/null +++ b/src/apideck/model/get_collection_user_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.collection_user import CollectionUser + globals()['CollectionUser'] = CollectionUser + + +class GetCollectionUserResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (CollectionUser,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionUserResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (CollectionUser): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionUserResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (CollectionUser): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_collection_users_response.py b/src/apideck/model/get_collection_users_response.py new file mode 100644 index 000000000..49f992a15 --- /dev/null +++ b/src/apideck/model/get_collection_users_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.collection_user import CollectionUser + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['CollectionUser'] = CollectionUser + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetCollectionUsersResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([CollectionUser],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionUsersResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([CollectionUser]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionUsersResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([CollectionUser]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_collections_response.py b/src/apideck/model/get_collections_response.py new file mode 100644 index 000000000..628686e97 --- /dev/null +++ b/src/apideck/model/get_collections_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.collection import Collection + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['Collection'] = Collection + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetCollectionsResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([Collection],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([Collection]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCollectionsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([Collection]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_comment_response.py b/src/apideck/model/get_comment_response.py new file mode 100644 index 000000000..a33378173 --- /dev/null +++ b/src/apideck/model/get_comment_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.collection_ticket_comment import CollectionTicketComment + globals()['CollectionTicketComment'] = CollectionTicketComment + + +class GetCommentResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (CollectionTicketComment,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (CollectionTicketComment): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (CollectionTicketComment): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_comments_response.py b/src/apideck/model/get_comments_response.py new file mode 100644 index 000000000..0494b36c9 --- /dev/null +++ b/src/apideck/model/get_comments_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.collection_ticket_comment import CollectionTicketComment + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['CollectionTicketComment'] = CollectionTicketComment + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetCommentsResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([CollectionTicketComment],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCommentsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([CollectionTicketComment]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetCommentsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([CollectionTicketComment]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_companies_response.py b/src/apideck/model/get_companies_response.py index 203e64127..769f36468 100644 --- a/src/apideck/model/get_companies_response.py +++ b/src/apideck/model/get_companies_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_company_info_response.py b/src/apideck/model/get_company_info_response.py index ef0babb7c..502288528 100644 --- a/src/apideck/model/get_company_info_response.py +++ b/src/apideck/model/get_company_info_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_company_response.py b/src/apideck/model/get_company_response.py index 1b9c801e5..ff08c524b 100644 --- a/src/apideck/model/get_company_response.py +++ b/src/apideck/model/get_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_connection_response.py b/src/apideck/model/get_connection_response.py index 42dfc3eb5..e50be8fea 100644 --- a/src/apideck/model/get_connection_response.py +++ b/src/apideck/model/get_connection_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_connections_response.py b/src/apideck/model/get_connections_response.py index 1c2082938..dbeb83f28 100644 --- a/src/apideck/model/get_connections_response.py +++ b/src/apideck/model/get_connections_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_connector_resource_response.py b/src/apideck/model/get_connector_resource_response.py index c58d24bda..d11781823 100644 --- a/src/apideck/model/get_connector_resource_response.py +++ b/src/apideck/model/get_connector_resource_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_connector_response.py b/src/apideck/model/get_connector_response.py index 1473c1f8d..f4db93a97 100644 --- a/src/apideck/model/get_connector_response.py +++ b/src/apideck/model/get_connector_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_connectors_response.py b/src/apideck/model/get_connectors_response.py index 9a2895289..9832d7a2d 100644 --- a/src/apideck/model/get_connectors_response.py +++ b/src/apideck/model/get_connectors_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_consumer_response.py b/src/apideck/model/get_consumer_response.py index 8176d799d..b9e6384af 100644 --- a/src/apideck/model/get_consumer_response.py +++ b/src/apideck/model/get_consumer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_consumers_response.py b/src/apideck/model/get_consumers_response.py index 7f5f49961..7aa8e98ac 100644 --- a/src/apideck/model/get_consumers_response.py +++ b/src/apideck/model/get_consumers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_consumers_response_data.py b/src/apideck/model/get_consumers_response_data.py index be86c9d8e..272a76160 100644 --- a/src/apideck/model/get_consumers_response_data.py +++ b/src/apideck/model/get_consumers_response_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_contact_response.py b/src/apideck/model/get_contact_response.py index fb3774937..36349d946 100644 --- a/src/apideck/model/get_contact_response.py +++ b/src/apideck/model/get_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_contacts_response.py b/src/apideck/model/get_contacts_response.py index 1d404400d..998c9ccee 100644 --- a/src/apideck/model/get_contacts_response.py +++ b/src/apideck/model/get_contacts_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_credit_note_response.py b/src/apideck/model/get_credit_note_response.py index f2e98efe6..bb0c4a4ea 100644 --- a/src/apideck/model/get_credit_note_response.py +++ b/src/apideck/model/get_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_credit_notes_response.py b/src/apideck/model/get_credit_notes_response.py index b9fe70b1a..fdf175dbb 100644 --- a/src/apideck/model/get_credit_notes_response.py +++ b/src/apideck/model/get_credit_notes_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_customer_response.py b/src/apideck/model/get_customer_response.py index 39b4bbe32..1fd568288 100644 --- a/src/apideck/model/get_customer_response.py +++ b/src/apideck/model/get_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_customer_support_customer_response.py b/src/apideck/model/get_customer_support_customer_response.py index 657e0429f..9e346c3e7 100644 --- a/src/apideck/model/get_customer_support_customer_response.py +++ b/src/apideck/model/get_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_customer_support_customers_response.py b/src/apideck/model/get_customer_support_customers_response.py index 3a55114e7..3c35145de 100644 --- a/src/apideck/model/get_customer_support_customers_response.py +++ b/src/apideck/model/get_customer_support_customers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_customers_response.py b/src/apideck/model/get_customers_response.py index f5f80a556..b1ee3e9d4 100644 --- a/src/apideck/model/get_customers_response.py +++ b/src/apideck/model/get_customers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_department_response.py b/src/apideck/model/get_department_response.py index df8169d58..113faf7c6 100644 --- a/src/apideck/model/get_department_response.py +++ b/src/apideck/model/get_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_departments_response.py b/src/apideck/model/get_departments_response.py index ab63e59d2..fde4ba535 100644 --- a/src/apideck/model/get_departments_response.py +++ b/src/apideck/model/get_departments_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_drive_group_response.py b/src/apideck/model/get_drive_group_response.py index d69012f83..3fc3b0594 100644 --- a/src/apideck/model/get_drive_group_response.py +++ b/src/apideck/model/get_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_drive_groups_response.py b/src/apideck/model/get_drive_groups_response.py index b922bd62d..d97b46d49 100644 --- a/src/apideck/model/get_drive_groups_response.py +++ b/src/apideck/model/get_drive_groups_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_drive_response.py b/src/apideck/model/get_drive_response.py index 50e30bcec..f6a1ca6b1 100644 --- a/src/apideck/model/get_drive_response.py +++ b/src/apideck/model/get_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_drives_response.py b/src/apideck/model/get_drives_response.py index 477108cd6..522ba74a2 100644 --- a/src/apideck/model/get_drives_response.py +++ b/src/apideck/model/get_drives_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_ecommerce_customer_response.py b/src/apideck/model/get_ecommerce_customer_response.py new file mode 100644 index 000000000..610733f21 --- /dev/null +++ b/src/apideck/model/get_ecommerce_customer_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_customer import EcommerceCustomer + globals()['EcommerceCustomer'] = EcommerceCustomer + + +class GetEcommerceCustomerResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (EcommerceCustomer,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceCustomer): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceCustomer): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_ecommerce_customers_response.py b/src/apideck/model/get_ecommerce_customers_response.py new file mode 100644 index 000000000..772eac51a --- /dev/null +++ b/src/apideck/model/get_ecommerce_customers_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_customer import EcommerceCustomer + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['EcommerceCustomer'] = EcommerceCustomer + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetEcommerceCustomersResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([EcommerceCustomer],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceCustomersResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceCustomer]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceCustomersResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceCustomer]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_ecommerce_order_response.py b/src/apideck/model/get_ecommerce_order_response.py new file mode 100644 index 000000000..f7d2ffd21 --- /dev/null +++ b/src/apideck/model/get_ecommerce_order_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_order import EcommerceOrder + globals()['EcommerceOrder'] = EcommerceOrder + + +class GetEcommerceOrderResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (EcommerceOrder,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceOrder): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceOrder): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_ecommerce_orders_response.py b/src/apideck/model/get_ecommerce_orders_response.py new file mode 100644 index 000000000..fcd281b58 --- /dev/null +++ b/src/apideck/model/get_ecommerce_orders_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_order import EcommerceOrder + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['EcommerceOrder'] = EcommerceOrder + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetEcommerceOrdersResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([EcommerceOrder],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceOrdersResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceOrder]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetEcommerceOrdersResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceOrder]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_employee_payroll_response.py b/src/apideck/model/get_employee_payroll_response.py index a01f43279..ebe7e692c 100644 --- a/src/apideck/model/get_employee_payroll_response.py +++ b/src/apideck/model/get_employee_payroll_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_employee_payrolls_response.py b/src/apideck/model/get_employee_payrolls_response.py index 83926b3d6..7e8fcd7de 100644 --- a/src/apideck/model/get_employee_payrolls_response.py +++ b/src/apideck/model/get_employee_payrolls_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_employee_response.py b/src/apideck/model/get_employee_response.py index 47530be8a..4f620e0e8 100644 --- a/src/apideck/model/get_employee_response.py +++ b/src/apideck/model/get_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_employee_schedules_response.py b/src/apideck/model/get_employee_schedules_response.py index 8ab042021..fec031c4c 100644 --- a/src/apideck/model/get_employee_schedules_response.py +++ b/src/apideck/model/get_employee_schedules_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_employees_response.py b/src/apideck/model/get_employees_response.py index 123ecd0b4..17ff51653 100644 --- a/src/apideck/model/get_employees_response.py +++ b/src/apideck/model/get_employees_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_file_response.py b/src/apideck/model/get_file_response.py index 29487a228..910c3336f 100644 --- a/src/apideck/model/get_file_response.py +++ b/src/apideck/model/get_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_files_response.py b/src/apideck/model/get_files_response.py index d12e01e54..224947680 100644 --- a/src/apideck/model/get_files_response.py +++ b/src/apideck/model/get_files_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_folder_response.py b/src/apideck/model/get_folder_response.py index 002155b83..5bdbfa65d 100644 --- a/src/apideck/model/get_folder_response.py +++ b/src/apideck/model/get_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_folders_response.py b/src/apideck/model/get_folders_response.py index 33c0c64c5..4cef5f727 100644 --- a/src/apideck/model/get_folders_response.py +++ b/src/apideck/model/get_folders_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_hris_companies_response.py b/src/apideck/model/get_hris_companies_response.py index 1ed39229e..79f1a2f69 100644 --- a/src/apideck/model/get_hris_companies_response.py +++ b/src/apideck/model/get_hris_companies_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_hris_company_response.py b/src/apideck/model/get_hris_company_response.py index 6c2729763..a94c72416 100644 --- a/src/apideck/model/get_hris_company_response.py +++ b/src/apideck/model/get_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_hris_job_response.py b/src/apideck/model/get_hris_job_response.py index 9a1c32543..aea8193ac 100644 --- a/src/apideck/model/get_hris_job_response.py +++ b/src/apideck/model/get_hris_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_hris_jobs_response.py b/src/apideck/model/get_hris_jobs_response.py index b38b6ea06..7426bc2cb 100644 --- a/src/apideck/model/get_hris_jobs_response.py +++ b/src/apideck/model/get_hris_jobs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_invoice_item_response.py b/src/apideck/model/get_invoice_item_response.py index bd5f4f2c7..1e58d28dd 100644 --- a/src/apideck/model/get_invoice_item_response.py +++ b/src/apideck/model/get_invoice_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_invoice_items_response.py b/src/apideck/model/get_invoice_items_response.py index b29aafcc1..6e5432737 100644 --- a/src/apideck/model/get_invoice_items_response.py +++ b/src/apideck/model/get_invoice_items_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_invoice_response.py b/src/apideck/model/get_invoice_response.py index 116d22def..297b89fe5 100644 --- a/src/apideck/model/get_invoice_response.py +++ b/src/apideck/model/get_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_invoices_response.py b/src/apideck/model/get_invoices_response.py index 466e46f23..d62ab72a8 100644 --- a/src/apideck/model/get_invoices_response.py +++ b/src/apideck/model/get_invoices_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_item_response.py b/src/apideck/model/get_item_response.py index 178d57d73..667fa8cea 100644 --- a/src/apideck/model/get_item_response.py +++ b/src/apideck/model/get_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_items_response.py b/src/apideck/model/get_items_response.py index f4e337c6c..08766b1ef 100644 --- a/src/apideck/model/get_items_response.py +++ b/src/apideck/model/get_items_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_job_response.py b/src/apideck/model/get_job_response.py index b57ad8538..0a0d98101 100644 --- a/src/apideck/model/get_job_response.py +++ b/src/apideck/model/get_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_jobs_response.py b/src/apideck/model/get_jobs_response.py index 9120b0d4f..3dd172b60 100644 --- a/src/apideck/model/get_jobs_response.py +++ b/src/apideck/model/get_jobs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_journal_entries_response.py b/src/apideck/model/get_journal_entries_response.py new file mode 100644 index 000000000..174a794f4 --- /dev/null +++ b/src/apideck/model/get_journal_entries_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.journal_entry import JournalEntry + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['JournalEntry'] = JournalEntry + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetJournalEntriesResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([JournalEntry],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetJournalEntriesResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([JournalEntry]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetJournalEntriesResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([JournalEntry]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_journal_entry_response.py b/src/apideck/model/get_journal_entry_response.py new file mode 100644 index 000000000..a348e6b87 --- /dev/null +++ b/src/apideck/model/get_journal_entry_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.journal_entry import JournalEntry + globals()['JournalEntry'] = JournalEntry + + +class GetJournalEntryResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (JournalEntry,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (JournalEntry): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (JournalEntry): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_lead_response.py b/src/apideck/model/get_lead_response.py index b8684b953..536e40e3b 100644 --- a/src/apideck/model/get_lead_response.py +++ b/src/apideck/model/get_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_leads_response.py b/src/apideck/model/get_leads_response.py index de44c0237..9768a9088 100644 --- a/src/apideck/model/get_leads_response.py +++ b/src/apideck/model/get_leads_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_ledger_account_response.py b/src/apideck/model/get_ledger_account_response.py index aab746c56..796dcc53f 100644 --- a/src/apideck/model/get_ledger_account_response.py +++ b/src/apideck/model/get_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_ledger_accounts_response.py b/src/apideck/model/get_ledger_accounts_response.py index 852026736..90a47c394 100644 --- a/src/apideck/model/get_ledger_accounts_response.py +++ b/src/apideck/model/get_ledger_accounts_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_location_response.py b/src/apideck/model/get_location_response.py index efce21a51..d51a226da 100644 --- a/src/apideck/model/get_location_response.py +++ b/src/apideck/model/get_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_locations_response.py b/src/apideck/model/get_locations_response.py index 7798416fa..40f51167d 100644 --- a/src/apideck/model/get_locations_response.py +++ b/src/apideck/model/get_locations_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_logs_response.py b/src/apideck/model/get_logs_response.py index c7dca8d2b..a7c09c11f 100644 --- a/src/apideck/model/get_logs_response.py +++ b/src/apideck/model/get_logs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_merchant_response.py b/src/apideck/model/get_merchant_response.py index efc697137..9be0e27b3 100644 --- a/src/apideck/model/get_merchant_response.py +++ b/src/apideck/model/get_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_merchants_response.py b/src/apideck/model/get_merchants_response.py index ee1400088..26194928d 100644 --- a/src/apideck/model/get_merchants_response.py +++ b/src/apideck/model/get_merchants_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_message_response.py b/src/apideck/model/get_message_response.py index 2d38bb2fe..c0e219e41 100644 --- a/src/apideck/model/get_message_response.py +++ b/src/apideck/model/get_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_messages_response.py b/src/apideck/model/get_messages_response.py index 82f2aef8c..32d9b88ae 100644 --- a/src/apideck/model/get_messages_response.py +++ b/src/apideck/model/get_messages_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_modifier_group_response.py b/src/apideck/model/get_modifier_group_response.py index 8cd9f2711..db988f67e 100644 --- a/src/apideck/model/get_modifier_group_response.py +++ b/src/apideck/model/get_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_modifier_groups_response.py b/src/apideck/model/get_modifier_groups_response.py index abc1eeb7c..02824ff96 100644 --- a/src/apideck/model/get_modifier_groups_response.py +++ b/src/apideck/model/get_modifier_groups_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_modifier_response.py b/src/apideck/model/get_modifier_response.py index 0bed70702..8cb39a572 100644 --- a/src/apideck/model/get_modifier_response.py +++ b/src/apideck/model/get_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_modifiers_response.py b/src/apideck/model/get_modifiers_response.py index ed8f960d9..1f7a2a86f 100644 --- a/src/apideck/model/get_modifiers_response.py +++ b/src/apideck/model/get_modifiers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_note_response.py b/src/apideck/model/get_note_response.py index 8e18e2a7a..ada613279 100644 --- a/src/apideck/model/get_note_response.py +++ b/src/apideck/model/get_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_notes_response.py b/src/apideck/model/get_notes_response.py index 61738769c..5a9a3fe91 100644 --- a/src/apideck/model/get_notes_response.py +++ b/src/apideck/model/get_notes_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_opportunities_response.py b/src/apideck/model/get_opportunities_response.py index 0630474ff..39fa09630 100644 --- a/src/apideck/model/get_opportunities_response.py +++ b/src/apideck/model/get_opportunities_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_opportunity_response.py b/src/apideck/model/get_opportunity_response.py index cb160f837..53065d38d 100644 --- a/src/apideck/model/get_opportunity_response.py +++ b/src/apideck/model/get_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_order_response.py b/src/apideck/model/get_order_response.py index d55342707..d71ef07db 100644 --- a/src/apideck/model/get_order_response.py +++ b/src/apideck/model/get_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_order_type_response.py b/src/apideck/model/get_order_type_response.py index 16f8bf6c9..631366c2b 100644 --- a/src/apideck/model/get_order_type_response.py +++ b/src/apideck/model/get_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_order_types_response.py b/src/apideck/model/get_order_types_response.py index 9c23f8531..23c091bc5 100644 --- a/src/apideck/model/get_order_types_response.py +++ b/src/apideck/model/get_order_types_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_orders_response.py b/src/apideck/model/get_orders_response.py index edd3076a5..0167cd05e 100644 --- a/src/apideck/model/get_orders_response.py +++ b/src/apideck/model/get_orders_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_payment_response.py b/src/apideck/model/get_payment_response.py index 1242ae032..73a50489b 100644 --- a/src/apideck/model/get_payment_response.py +++ b/src/apideck/model/get_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_payments_response.py b/src/apideck/model/get_payments_response.py index a2e77ab83..e2e29af38 100644 --- a/src/apideck/model/get_payments_response.py +++ b/src/apideck/model/get_payments_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_payroll_response.py b/src/apideck/model/get_payroll_response.py index a8515c7ae..ff1b0cb96 100644 --- a/src/apideck/model/get_payroll_response.py +++ b/src/apideck/model/get_payroll_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_payrolls_response.py b/src/apideck/model/get_payrolls_response.py index 6fa82c399..33d8d2cb4 100644 --- a/src/apideck/model/get_payrolls_response.py +++ b/src/apideck/model/get_payrolls_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_pipeline_response.py b/src/apideck/model/get_pipeline_response.py index 37e8a094d..2e7e6fe11 100644 --- a/src/apideck/model/get_pipeline_response.py +++ b/src/apideck/model/get_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_pipelines_response.py b/src/apideck/model/get_pipelines_response.py index b7b4430bb..e1c9070b3 100644 --- a/src/apideck/model/get_pipelines_response.py +++ b/src/apideck/model/get_pipelines_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_pos_payment_response.py b/src/apideck/model/get_pos_payment_response.py index 2303b0029..ed0664705 100644 --- a/src/apideck/model/get_pos_payment_response.py +++ b/src/apideck/model/get_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_pos_payments_response.py b/src/apideck/model/get_pos_payments_response.py index ef9f94f30..f4b43ecc9 100644 --- a/src/apideck/model/get_pos_payments_response.py +++ b/src/apideck/model/get_pos_payments_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_product_response.py b/src/apideck/model/get_product_response.py new file mode 100644 index 000000000..f65ba8b0a --- /dev/null +++ b/src/apideck/model/get_product_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_product import EcommerceProduct + globals()['EcommerceProduct'] = EcommerceProduct + + +class GetProductResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (EcommerceProduct,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceProduct): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceProduct): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_products_response.py b/src/apideck/model/get_products_response.py new file mode 100644 index 000000000..d1957cad0 --- /dev/null +++ b/src/apideck/model/get_products_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_product import EcommerceProduct + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['EcommerceProduct'] = EcommerceProduct + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetProductsResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([EcommerceProduct],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetProductsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceProduct]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetProductsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceProduct]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_profit_and_loss_response.py b/src/apideck/model/get_profit_and_loss_response.py index 66234a143..46ecd7113 100644 --- a/src/apideck/model/get_profit_and_loss_response.py +++ b/src/apideck/model/get_profit_and_loss_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_shared_link_response.py b/src/apideck/model/get_shared_link_response.py index 980caa0e3..31b019536 100644 --- a/src/apideck/model/get_shared_link_response.py +++ b/src/apideck/model/get_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_shared_links_response.py b/src/apideck/model/get_shared_links_response.py index 412a962c6..fffed276b 100644 --- a/src/apideck/model/get_shared_links_response.py +++ b/src/apideck/model/get_shared_links_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_store_response.py b/src/apideck/model/get_store_response.py new file mode 100644 index 000000000..984b41bdb --- /dev/null +++ b/src/apideck/model/get_store_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_store import EcommerceStore + globals()['EcommerceStore'] = EcommerceStore + + +class GetStoreResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (EcommerceStore,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetStoreResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceStore): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetStoreResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (EcommerceStore): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_stores_response.py b/src/apideck/model/get_stores_response.py new file mode 100644 index 000000000..7cf1be31f --- /dev/null +++ b/src/apideck/model/get_stores_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_store import EcommerceStore + from apideck.model.links import Links + from apideck.model.meta import Meta + globals()['EcommerceStore'] = EcommerceStore + globals()['Links'] = Links + globals()['Meta'] = Meta + + +class GetStoresResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([EcommerceStore],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetStoresResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceStore]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetStoresResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([EcommerceStore]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_supplier_response.py b/src/apideck/model/get_supplier_response.py index c45d5a97d..258274e36 100644 --- a/src/apideck/model/get_supplier_response.py +++ b/src/apideck/model/get_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_suppliers_response.py b/src/apideck/model/get_suppliers_response.py index 24079e5bf..285634a89 100644 --- a/src/apideck/model/get_suppliers_response.py +++ b/src/apideck/model/get_suppliers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_tax_rate_response.py b/src/apideck/model/get_tax_rate_response.py index 8ce7537f7..785240ac9 100644 --- a/src/apideck/model/get_tax_rate_response.py +++ b/src/apideck/model/get_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_tax_rates_response.py b/src/apideck/model/get_tax_rates_response.py index 546c6c9c5..5abab644e 100644 --- a/src/apideck/model/get_tax_rates_response.py +++ b/src/apideck/model/get_tax_rates_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_tender_response.py b/src/apideck/model/get_tender_response.py index d9c3231a3..f65b2380f 100644 --- a/src/apideck/model/get_tender_response.py +++ b/src/apideck/model/get_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_tenders_response.py b/src/apideck/model/get_tenders_response.py index cc933c9dd..8d1d24f57 100644 --- a/src/apideck/model/get_tenders_response.py +++ b/src/apideck/model/get_tenders_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_ticket_response.py b/src/apideck/model/get_ticket_response.py new file mode 100644 index 000000000..42de88bdc --- /dev/null +++ b/src/apideck/model/get_ticket_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ticket import Ticket + globals()['Ticket'] = Ticket + + +class GetTicketResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (Ticket,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (Ticket): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (Ticket): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_tickets_response.py b/src/apideck/model/get_tickets_response.py new file mode 100644 index 000000000..8df7732a0 --- /dev/null +++ b/src/apideck/model/get_tickets_response.py @@ -0,0 +1,309 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.links import Links + from apideck.model.meta import Meta + from apideck.model.ticket import Ticket + globals()['Links'] = Links + globals()['Meta'] = Meta + globals()['Ticket'] = Ticket + + +class GetTicketsResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': ([Ticket],), # noqa: E501 + 'meta': (Meta,), # noqa: E501 + 'links': (Links,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + 'meta': 'meta', # noqa: E501 + 'links': 'links', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetTicketsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([Ticket]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """GetTicketsResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data ([Ticket]): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + meta (Meta): [optional] # noqa: E501 + links (Links): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/get_time_off_request_response.py b/src/apideck/model/get_time_off_request_response.py index a4a52d28b..9112870dc 100644 --- a/src/apideck/model/get_time_off_request_response.py +++ b/src/apideck/model/get_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_time_off_requests_response.py b/src/apideck/model/get_time_off_requests_response.py index 957c472f5..f9782827a 100644 --- a/src/apideck/model/get_time_off_requests_response.py +++ b/src/apideck/model/get_time_off_requests_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_upload_session_response.py b/src/apideck/model/get_upload_session_response.py index 7a0e4a8dd..9a0e70662 100644 --- a/src/apideck/model/get_upload_session_response.py +++ b/src/apideck/model/get_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_user_response.py b/src/apideck/model/get_user_response.py index 90c36a1a3..eb3249a07 100644 --- a/src/apideck/model/get_user_response.py +++ b/src/apideck/model/get_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_users_response.py b/src/apideck/model/get_users_response.py index 975710068..c71988f1b 100644 --- a/src/apideck/model/get_users_response.py +++ b/src/apideck/model/get_users_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_webhook_event_logs_response.py b/src/apideck/model/get_webhook_event_logs_response.py index 17c4be0f0..5414324f8 100644 --- a/src/apideck/model/get_webhook_event_logs_response.py +++ b/src/apideck/model/get_webhook_event_logs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_webhook_response.py b/src/apideck/model/get_webhook_response.py index 0c1e05d9a..5b90206f2 100644 --- a/src/apideck/model/get_webhook_response.py +++ b/src/apideck/model/get_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/get_webhooks_response.py b/src/apideck/model/get_webhooks_response.py index f3ecb5999..ae68908bc 100644 --- a/src/apideck/model/get_webhooks_response.py +++ b/src/apideck/model/get_webhooks_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/hris_company.py b/src/apideck/model/hris_company.py index 3fc46841c..f60b2192c 100644 --- a/src/apideck/model/hris_company.py +++ b/src/apideck/model/hris_company.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -196,7 +196,7 @@ def _from_openapi_data(cls, legal_name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 display_name (str): [optional] # noqa: E501 subdomain (str): [optional] # noqa: E501 status (str): [optional] # noqa: E501 @@ -207,10 +207,10 @@ def _from_openapi_data(cls, legal_name, *args, **kwargs): # noqa: E501 websites ([Website]): [optional] # noqa: E501 debtor_id (str): [optional] # noqa: E501 deleted (bool): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -296,7 +296,7 @@ def __init__(self, legal_name, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 display_name (str): [optional] # noqa: E501 subdomain (str): [optional] # noqa: E501 status (str): [optional] # noqa: E501 @@ -307,10 +307,10 @@ def __init__(self, legal_name, *args, **kwargs): # noqa: E501 websites ([Website]): [optional] # noqa: E501 debtor_id (str): [optional] # noqa: E501 deleted (bool): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/hris_event_type.py b/src/apideck/model/hris_event_type.py index 961db9883..91bb49f87 100644 --- a/src/apideck/model/hris_event_type.py +++ b/src/apideck/model/hris_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/hris_job.py b/src/apideck/model/hris_job.py index 61784c401..d8f22724a 100644 --- a/src/apideck/model/hris_job.py +++ b/src/apideck/model/hris_job.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -30,7 +30,9 @@ def lazy_import(): + from apideck.model.employment_status import EmploymentStatus from apideck.model.hris_job_location import HrisJobLocation + globals()['EmploymentStatus'] = EmploymentStatus globals()['HrisJobLocation'] = HrisJobLocation @@ -59,13 +61,6 @@ class HrisJob(ModelNormal): """ allowed_values = { - ('employment_status',): { - 'None': None, - 'ACTIVE': "active", - 'INACTIVE': "inactive", - 'TERMINATED': "terminated", - 'OTHER': "other", - }, } validations = { @@ -99,8 +94,9 @@ def openapi_types(): 'title': (str, none_type,), # noqa: E501 'start_date': (date, none_type,), # noqa: E501 'end_date': (date, none_type,), # noqa: E501 - 'employment_status': (str, none_type,), # noqa: E501 + 'employment_status': (EmploymentStatus,), # noqa: E501 'department': (str, none_type,), # noqa: E501 + 'is_primary': (bool, none_type,), # noqa: E501 'location': (HrisJobLocation,), # noqa: E501 } @@ -117,6 +113,7 @@ def discriminator(): 'end_date': 'end_date', # noqa: E501 'employment_status': 'employment_status', # noqa: E501 'department': 'department', # noqa: E501 + 'is_primary': 'is_primary', # noqa: E501 'location': 'location', # noqa: E501 } @@ -162,13 +159,14 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 employee_id (str): Id of the employee. [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 start_date (date, none_type): [optional] # noqa: E501 end_date (date, none_type): [optional] # noqa: E501 - employment_status (str, none_type): [optional] # noqa: E501 + employment_status (EmploymentStatus): [optional] # noqa: E501 department (str, none_type): Department name. [optional] # noqa: E501 + is_primary (bool, none_type): Indicates whether this the employee's primary job.. [optional] # noqa: E501 location (HrisJobLocation): [optional] # noqa: E501 """ @@ -251,13 +249,14 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 employee_id (str): Id of the employee. [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 start_date (date, none_type): [optional] # noqa: E501 end_date (date, none_type): [optional] # noqa: E501 - employment_status (str, none_type): [optional] # noqa: E501 + employment_status (EmploymentStatus): [optional] # noqa: E501 department (str, none_type): Department name. [optional] # noqa: E501 + is_primary (bool, none_type): Indicates whether this the employee's primary job.. [optional] # noqa: E501 location (HrisJobLocation): [optional] # noqa: E501 """ diff --git a/src/apideck/model/hris_job_location.py b/src/apideck/model/hris_job_location.py index 1c4f7a090..3cceb2674 100644 --- a/src/apideck/model/hris_job_location.py +++ b/src/apideck/model/hris_job_location.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/hris_jobs.py b/src/apideck/model/hris_jobs.py index e6c027973..aa7e240c3 100644 --- a/src/apideck/model/hris_jobs.py +++ b/src/apideck/model/hris_jobs.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/idempotency_key.py b/src/apideck/model/idempotency_key.py index 409a8b846..eced29134 100644 --- a/src/apideck/model/idempotency_key.py +++ b/src/apideck/model/idempotency_key.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/integration_state.py b/src/apideck/model/integration_state.py new file mode 100644 index 000000000..f34e2ca9c --- /dev/null +++ b/src/apideck/model/integration_state.py @@ -0,0 +1,283 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class IntegrationState(ModelSimple): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('value',): { + 'DISABLED': "disabled", + 'NEEDS_CONFIGURATION': "needs_configuration", + 'CONFIGURED': "configured", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'value': (str,), + } + + @cached_property + def discriminator(): + return None + + + attribute_map = {} + + read_only_vars = set() + + _composed_schemas = None + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): + """IntegrationState - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): The current state of the Integration.., must be one of ["disabled", "needs_configuration", "configured", ] # noqa: E501 + + Keyword Args: + value (str): The current state of the Integration.., must be one of ["disabled", "needs_configuration", "configured", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): + """IntegrationState - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str): The current state of the Integration.., must be one of ["disabled", "needs_configuration", "configured", ] # noqa: E501 + + Keyword Args: + value (str): The current state of the Integration.., must be one of ["disabled", "needs_configuration", "configured", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + return self diff --git a/src/apideck/model/invoice.py b/src/apideck/model/invoice.py index c69f9bab8..8a0e031fe 100644 --- a/src/apideck/model/invoice.py +++ b/src/apideck/model/invoice.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -125,6 +125,7 @@ def openapi_types(): 'total_tax': (float, none_type,), # noqa: E501 'tax_code': (str, none_type,), # noqa: E501 'discount_percentage': (float, none_type,), # noqa: E501 + 'discount_amount': (float, none_type,), # noqa: E501 'total': (float, none_type,), # noqa: E501 'balance': (float, none_type,), # noqa: E501 'deposit': (float, none_type,), # noqa: E501 @@ -166,6 +167,7 @@ def discriminator(): 'total_tax': 'total_tax', # noqa: E501 'tax_code': 'tax_code', # noqa: E501 'discount_percentage': 'discount_percentage', # noqa: E501 + 'discount_amount': 'discount_amount', # noqa: E501 'total': 'total', # noqa: E501 'balance': 'balance', # noqa: E501 'deposit': 'deposit', # noqa: E501 @@ -229,7 +231,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 type (str, none_type): Invoice type. [optional] # noqa: E501 number (str, none_type): Invoice number.. [optional] # noqa: E501 @@ -248,6 +250,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 total_tax (float, none_type): Total tax amount applied to this invoice.. [optional] # noqa: E501 tax_code (str, none_type): Applicable tax id/code override if tax is not supplied on a line item basis.. [optional] # noqa: E501 discount_percentage (float, none_type): Discount percentage applied to this invoice.. [optional] # noqa: E501 + discount_amount (float, none_type): Discount amount applied to this invoice.. [optional] # noqa: E501 total (float, none_type): Total amount of invoice, including tax.. [optional] # noqa: E501 balance (float, none_type): Balance of invoice due.. [optional] # noqa: E501 deposit (float, none_type): Amount of deposit made to this invoice.. [optional] # noqa: E501 @@ -257,11 +260,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 shipping_address (Address): [optional] # noqa: E501 template_id (str, none_type): Optional invoice template. [optional] # noqa: E501 source_document_url (str, none_type): URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -343,7 +346,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 type (str, none_type): Invoice type. [optional] # noqa: E501 number (str, none_type): Invoice number.. [optional] # noqa: E501 @@ -362,6 +365,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 total_tax (float, none_type): Total tax amount applied to this invoice.. [optional] # noqa: E501 tax_code (str, none_type): Applicable tax id/code override if tax is not supplied on a line item basis.. [optional] # noqa: E501 discount_percentage (float, none_type): Discount percentage applied to this invoice.. [optional] # noqa: E501 + discount_amount (float, none_type): Discount amount applied to this invoice.. [optional] # noqa: E501 total (float, none_type): Total amount of invoice, including tax.. [optional] # noqa: E501 balance (float, none_type): Balance of invoice due.. [optional] # noqa: E501 deposit (float, none_type): Amount of deposit made to this invoice.. [optional] # noqa: E501 @@ -371,11 +375,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 shipping_address (Address): [optional] # noqa: E501 template_id (str, none_type): Optional invoice template. [optional] # noqa: E501 source_document_url (str, none_type): URL link to a source document - shown as 'Go to [appName]' in the downstream app. Currently only supported for Xero.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/invoice_item.py b/src/apideck/model/invoice_item.py index 84c47b2a8..71ae0d4b9 100644 --- a/src/apideck/model/invoice_item.py +++ b/src/apideck/model/invoice_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -95,6 +95,7 @@ def openapi_types(): 'sold': (bool, none_type,), # noqa: E501 'purchased': (bool, none_type,), # noqa: E501 'tracked': (bool, none_type,), # noqa: E501 + 'taxable': (bool, none_type,), # noqa: E501 'inventory_date': (date, none_type,), # noqa: E501 'type': (str, none_type,), # noqa: E501 'sales_details': (InvoiceItemSalesDetails,), # noqa: E501 @@ -125,6 +126,7 @@ def discriminator(): 'sold': 'sold', # noqa: E501 'purchased': 'purchased', # noqa: E501 'tracked': 'tracked', # noqa: E501 + 'taxable': 'taxable', # noqa: E501 'inventory_date': 'inventory_date', # noqa: E501 'type': 'type', # noqa: E501 'sales_details': 'sales_details', # noqa: E501 @@ -195,6 +197,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 sold (bool, none_type): Item will be available on sales transactions. [optional] # noqa: E501 purchased (bool, none_type): Item is available for purchase transactions. [optional] # noqa: E501 tracked (bool, none_type): Item is inventoried. [optional] # noqa: E501 + taxable (bool, none_type): If true, transactions for this item are taxable. [optional] # noqa: E501 inventory_date (date, none_type): The date of opening balance if inventory item is tracked - YYYY-MM-DD.. [optional] # noqa: E501 type (str, none_type): Item type. [optional] # noqa: E501 sales_details (InvoiceItemSalesDetails): [optional] # noqa: E501 @@ -205,11 +208,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 income_account (LinkedLedgerAccount): [optional] # noqa: E501 expense_account (LinkedLedgerAccount): [optional] # noqa: E501 active (bool, none_type): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -298,6 +301,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 sold (bool, none_type): Item will be available on sales transactions. [optional] # noqa: E501 purchased (bool, none_type): Item is available for purchase transactions. [optional] # noqa: E501 tracked (bool, none_type): Item is inventoried. [optional] # noqa: E501 + taxable (bool, none_type): If true, transactions for this item are taxable. [optional] # noqa: E501 inventory_date (date, none_type): The date of opening balance if inventory item is tracked - YYYY-MM-DD.. [optional] # noqa: E501 type (str, none_type): Item type. [optional] # noqa: E501 sales_details (InvoiceItemSalesDetails): [optional] # noqa: E501 @@ -308,11 +312,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 income_account (LinkedLedgerAccount): [optional] # noqa: E501 expense_account (LinkedLedgerAccount): [optional] # noqa: E501 active (bool, none_type): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/invoice_item_asset_account.py b/src/apideck/model/invoice_item_asset_account.py index 9dc5bb3ea..93bc31ba7 100644 --- a/src/apideck/model/invoice_item_asset_account.py +++ b/src/apideck/model/invoice_item_asset_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/invoice_item_expense_account.py b/src/apideck/model/invoice_item_expense_account.py index e2d35c0e5..477d90fb8 100644 --- a/src/apideck/model/invoice_item_expense_account.py +++ b/src/apideck/model/invoice_item_expense_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/invoice_item_income_account.py b/src/apideck/model/invoice_item_income_account.py index 8ce207d74..dc8d3ed7d 100644 --- a/src/apideck/model/invoice_item_income_account.py +++ b/src/apideck/model/invoice_item_income_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/invoice_item_sales_details.py b/src/apideck/model/invoice_item_sales_details.py index 87e3f461d..e7186cfd1 100644 --- a/src/apideck/model/invoice_item_sales_details.py +++ b/src/apideck/model/invoice_item_sales_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/invoice_items_filter.py b/src/apideck/model/invoice_items_filter.py index ee4a3fbca..9639295a7 100644 --- a/src/apideck/model/invoice_items_filter.py +++ b/src/apideck/model/invoice_items_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/invoice_line_item.py b/src/apideck/model/invoice_line_item.py index e92a67728..51eab7f8f 100644 --- a/src/apideck/model/invoice_line_item.py +++ b/src/apideck/model/invoice_line_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -103,6 +103,7 @@ def openapi_types(): 'unit_price': (float, none_type,), # noqa: E501 'unit_of_measure': (str, none_type,), # noqa: E501 'discount_percentage': (float, none_type,), # noqa: E501 + 'discount_amount': (float, none_type,), # noqa: E501 'location_id': (str, none_type,), # noqa: E501 'department_id': (str, none_type,), # noqa: E501 'item': (LinkedInvoiceItem,), # noqa: E501 @@ -133,6 +134,7 @@ def discriminator(): 'unit_price': 'unit_price', # noqa: E501 'unit_of_measure': 'unit_of_measure', # noqa: E501 'discount_percentage': 'discount_percentage', # noqa: E501 + 'discount_amount': 'discount_amount', # noqa: E501 'location_id': 'location_id', # noqa: E501 'department_id': 'department_id', # noqa: E501 'item': 'item', # noqa: E501 @@ -191,7 +193,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 row_id (str): Row ID. [optional] # noqa: E501 code (str, none_type): User defined item code. [optional] # noqa: E501 line_number (int, none_type): Line number in the invoice. [optional] # noqa: E501 @@ -203,16 +205,17 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 unit_price (float, none_type): [optional] # noqa: E501 unit_of_measure (str, none_type): Description of the unit type the item is sold as, ie: kg, hour.. [optional] # noqa: E501 discount_percentage (float, none_type): Discount percentage applied to the line item when supported downstream.. [optional] # noqa: E501 + discount_amount (float, none_type): Discount amount applied to the line item when supported downstream.. [optional] # noqa: E501 location_id (str, none_type): Location id. [optional] # noqa: E501 department_id (str, none_type): Department id. [optional] # noqa: E501 item (LinkedInvoiceItem): [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 ledger_account (LinkedLedgerAccount): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -294,7 +297,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 row_id (str): Row ID. [optional] # noqa: E501 code (str, none_type): User defined item code. [optional] # noqa: E501 line_number (int, none_type): Line number in the invoice. [optional] # noqa: E501 @@ -306,16 +309,17 @@ def __init__(self, *args, **kwargs): # noqa: E501 unit_price (float, none_type): [optional] # noqa: E501 unit_of_measure (str, none_type): Description of the unit type the item is sold as, ie: kg, hour.. [optional] # noqa: E501 discount_percentage (float, none_type): Discount percentage applied to the line item when supported downstream.. [optional] # noqa: E501 + discount_amount (float, none_type): Discount amount applied to the line item when supported downstream.. [optional] # noqa: E501 location_id (str, none_type): Location id. [optional] # noqa: E501 department_id (str, none_type): Department id. [optional] # noqa: E501 item (LinkedInvoiceItem): [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 ledger_account (LinkedLedgerAccount): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/invoice_response.py b/src/apideck/model/invoice_response.py index d9edbcd4b..29e1e7ea8 100644 --- a/src/apideck/model/invoice_response.py +++ b/src/apideck/model/invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -138,7 +138,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 """ @@ -221,7 +221,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 """ diff --git a/src/apideck/model/invoices_sort.py b/src/apideck/model/invoices_sort.py index b40090217..c422ae939 100644 --- a/src/apideck/model/invoices_sort.py +++ b/src/apideck/model/invoices_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/issue_tracking_event_type.py b/src/apideck/model/issue_tracking_event_type.py new file mode 100644 index 000000000..ff9a8de61 --- /dev/null +++ b/src/apideck/model/issue_tracking_event_type.py @@ -0,0 +1,284 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class IssueTrackingEventType(ModelSimple): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('value',): { + '*': "*", + 'ISSUE-TRACKING.TICKET.CREATED': "issue-tracking.ticket.created", + 'ISSUE-TRACKING.TICKET.UPDATED': "issue-tracking.ticket.updated", + 'ISSUE-TRACKING.TICKET.DELETED': "issue-tracking.ticket.deleted", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'value': (str,), + } + + @cached_property + def discriminator(): + return None + + + attribute_map = {} + + read_only_vars = set() + + _composed_schemas = None + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): + """IssueTrackingEventType - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str):, must be one of ["*", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 + + Keyword Args: + value (str):, must be one of ["*", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): + """IssueTrackingEventType - a model defined in OpenAPI + + Note that value can be passed either in args or in kwargs, but not in both. + + Args: + args[0] (str):, must be one of ["*", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 + + Keyword Args: + value (str):, must be one of ["*", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + # required up here when default value is not given + _path_to_item = kwargs.pop('_path_to_item', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if 'value' in kwargs: + value = kwargs.pop('value') + elif args: + args = list(args) + value = args.pop(0) + else: + raise ApiTypeError( + "value is required, but not passed in args or kwargs and doesn't have default", + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.value = value + if kwargs: + raise ApiTypeError( + "Invalid named arguments=%s passed to %s. Remove those invalid named arguments." % ( + kwargs, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + return self diff --git a/src/apideck/model/issues_filter.py b/src/apideck/model/issues_filter.py new file mode 100644 index 000000000..ce3aead22 --- /dev/null +++ b/src/apideck/model/issues_filter.py @@ -0,0 +1,259 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class IssuesFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('status',): { + }, + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'status': ([str],), # noqa: E501 + 'since': (datetime,), # noqa: E501 + 'assignee_id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status': 'status', # noqa: E501 + 'since': 'since', # noqa: E501 + 'assignee_id': 'assignee_id', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """IssuesFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + status ([str]): Filter by ticket status, can be `open`, `closed` or `all`. Will passthrough if none of the above match. [optional] if omitted the server will use the default value of [] # noqa: E501 + since (datetime): Only return tickets since a specific date. [optional] # noqa: E501 + assignee_id (str): Only return tickets assigned to a specific user. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """IssuesFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + status ([str]): Filter by ticket status, can be `open`, `closed` or `all`. Will passthrough if none of the above match. [optional] if omitted the server will use the default value of [] # noqa: E501 + since (datetime): Only return tickets since a specific date. [optional] # noqa: E501 + assignee_id (str): Only return tickets assigned to a specific user. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/item.py b/src/apideck/model/item.py index 512a556df..57ba6efc7 100644 --- a/src/apideck/model/item.py +++ b/src/apideck/model/item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -231,12 +231,12 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 modifier_groups ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 available (bool, none_type): [optional] # noqa: E501 hidden (bool, none_type): [optional] # noqa: E501 - version (str, none_type): [optional] # noqa: E501 + version (str, none_type): The user who last updated the object.. [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -344,12 +344,12 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 modifier_groups ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 available (bool, none_type): [optional] # noqa: E501 hidden (bool, none_type): [optional] # noqa: E501 - version (str, none_type): [optional] # noqa: E501 + version (str, none_type): The user who last updated the object.. [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/job.py b/src/apideck/model/job.py index ee6349f5d..9698bd973 100644 --- a/src/apideck/model/job.py +++ b/src/apideck/model/job.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -77,7 +77,7 @@ class Job(ModelNormal): 'None': None, 'FULL-TIME': "full-time", 'PART-TIME': "part-time", - 'INTERSHIP': "intership", + 'INTERNSHIP': "internship", 'CONTRACTOR': "contractor", 'EMPLOYEE': "employee", 'FREELANCE': "freelance", @@ -240,9 +240,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 slug (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 sequence (int): Sequence in relation to other jobs.. [optional] # noqa: E501 visibility (str): The visibility of the job. [optional] # noqa: E501 status (JobStatus): [optional] # noqa: E501 @@ -257,7 +257,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 recruiters ([str], none_type): The recruiter is generally someone who is tasked to help the hiring manager find and screen qualified applicant. [optional] # noqa: E501 hiring_managers ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 followers ([str], none_type): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 description_html (str, none_type): The job description in HTML format. [optional] # noqa: E501 blocks ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 closing (str, none_type): [optional] # noqa: E501 @@ -274,10 +274,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 owner_id (str): [optional] # noqa: E501 published_at (datetime): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -359,9 +359,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 slug (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 sequence (int): Sequence in relation to other jobs.. [optional] # noqa: E501 visibility (str): The visibility of the job. [optional] # noqa: E501 status (JobStatus): [optional] # noqa: E501 @@ -376,7 +376,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 recruiters ([str], none_type): The recruiter is generally someone who is tasked to help the hiring manager find and screen qualified applicant. [optional] # noqa: E501 hiring_managers ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 followers ([str], none_type): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 description_html (str, none_type): The job description in HTML format. [optional] # noqa: E501 blocks ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 closing (str, none_type): [optional] # noqa: E501 @@ -393,10 +393,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 owner_id (str): [optional] # noqa: E501 published_at (datetime): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/job_salary.py b/src/apideck/model/job_salary.py index c7a4f97ba..58662262e 100644 --- a/src/apideck/model/job_salary.py +++ b/src/apideck/model/job_salary.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/job_status.py b/src/apideck/model/job_status.py index 5eadf08d1..5255166cf 100644 --- a/src/apideck/model/job_status.py +++ b/src/apideck/model/job_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/jobs_filter.py b/src/apideck/model/jobs_filter.py index 624c7c536..b5c4b65cb 100644 --- a/src/apideck/model/jobs_filter.py +++ b/src/apideck/model/jobs_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/journal_entry.py b/src/apideck/model/journal_entry.py new file mode 100644 index 000000000..068c4dd4c --- /dev/null +++ b/src/apideck/model/journal_entry.py @@ -0,0 +1,312 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.currency import Currency + from apideck.model.journal_entry_line_item import JournalEntryLineItem + globals()['Currency'] = Currency + globals()['JournalEntryLineItem'] = JournalEntryLineItem + + +class JournalEntry(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + ('line_items',): { + 'min_items': 2, + }, + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'title': (str, none_type,), # noqa: E501 + 'currency_rate': (float, none_type,), # noqa: E501 + 'currency': (Currency,), # noqa: E501 + 'line_items': ([JournalEntryLineItem],), # noqa: E501 + 'memo': (str, none_type,), # noqa: E501 + 'posted_at': (datetime,), # noqa: E501 + 'journal_symbol': (str, none_type,), # noqa: E501 + 'updated_by': (str, none_type,), # noqa: E501 + 'created_by': (str, none_type,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + 'row_version': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'title': 'title', # noqa: E501 + 'currency_rate': 'currency_rate', # noqa: E501 + 'currency': 'currency', # noqa: E501 + 'line_items': 'line_items', # noqa: E501 + 'memo': 'memo', # noqa: E501 + 'posted_at': 'posted_at', # noqa: E501 + 'journal_symbol': 'journal_symbol', # noqa: E501 + 'updated_by': 'updated_by', # noqa: E501 + 'created_by': 'created_by', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + 'row_version': 'row_version', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'updated_by', # noqa: E501 + 'created_by', # noqa: E501 + 'updated_at', # noqa: E501 + 'created_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """JournalEntry - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + title (str, none_type): Journal entry title. [optional] # noqa: E501 + currency_rate (float, none_type): Currency Exchange Rate at the time entity was recorded/generated.. [optional] # noqa: E501 + currency (Currency): [optional] # noqa: E501 + line_items ([JournalEntryLineItem]): Requires a minimum of 2 line items that sum to 0. [optional] # noqa: E501 + memo (str, none_type): Reference for the journal entry.. [optional] # noqa: E501 + posted_at (datetime): This is the date on which the journal entry was added. This can be different from the creation date and can also be backdated.. [optional] # noqa: E501 + journal_symbol (str, none_type): Journal symbol of the entry. For example IND for indirect costs. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """JournalEntry - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + title (str, none_type): Journal entry title. [optional] # noqa: E501 + currency_rate (float, none_type): Currency Exchange Rate at the time entity was recorded/generated.. [optional] # noqa: E501 + currency (Currency): [optional] # noqa: E501 + line_items ([JournalEntryLineItem]): Requires a minimum of 2 line items that sum to 0. [optional] # noqa: E501 + memo (str, none_type): Reference for the journal entry.. [optional] # noqa: E501 + posted_at (datetime): This is the date on which the journal entry was added. This can be different from the creation date and can also be backdated.. [optional] # noqa: E501 + journal_symbol (str, none_type): Journal symbol of the entry. For example IND for indirect costs. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/journal_entry_line_item.py b/src/apideck/model/journal_entry_line_item.py new file mode 100644 index 000000000..cf8e6d9c5 --- /dev/null +++ b/src/apideck/model/journal_entry_line_item.py @@ -0,0 +1,311 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.linked_ledger_account import LinkedLedgerAccount + from apideck.model.linked_tax_rate import LinkedTaxRate + from apideck.model.linked_tracking_category import LinkedTrackingCategory + globals()['LinkedLedgerAccount'] = LinkedLedgerAccount + globals()['LinkedTaxRate'] = LinkedTaxRate + globals()['LinkedTrackingCategory'] = LinkedTrackingCategory + + +class JournalEntryLineItem(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('type',): { + 'DEBIT': "debit", + 'CREDIT': "credit", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'total_amount': (float, none_type,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'ledger_account': (LinkedLedgerAccount,), # noqa: E501 + 'id': (str,), # noqa: E501 + 'description': (str, none_type,), # noqa: E501 + 'tax_amount': (float, none_type,), # noqa: E501 + 'tax_rate': (LinkedTaxRate,), # noqa: E501 + 'tracking_category': (LinkedTrackingCategory,), # noqa: E501 + 'department_id': (str,), # noqa: E501 + 'location_id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'total_amount': 'total_amount', # noqa: E501 + 'type': 'type', # noqa: E501 + 'ledger_account': 'ledger_account', # noqa: E501 + 'id': 'id', # noqa: E501 + 'description': 'description', # noqa: E501 + 'tax_amount': 'tax_amount', # noqa: E501 + 'tax_rate': 'tax_rate', # noqa: E501 + 'tracking_category': 'tracking_category', # noqa: E501 + 'department_id': 'department_id', # noqa: E501 + 'location_id': 'location_id', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'department_id', # noqa: E501 + 'location_id', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, total_amount, type, ledger_account, *args, **kwargs): # noqa: E501 + """JournalEntryLineItem - a model defined in OpenAPI + + Args: + total_amount (float, none_type): Debit entries are considered positive, and credit entries are considered negative. + type (str): Debit entries are considered positive, and credit entries are considered negative. + ledger_account (LinkedLedgerAccount): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + description (str, none_type): User defined description. [optional] # noqa: E501 + tax_amount (float, none_type): Tax amount. [optional] # noqa: E501 + tax_rate (LinkedTaxRate): [optional] # noqa: E501 + tracking_category (LinkedTrackingCategory): [optional] # noqa: E501 + department_id (str): A unique identifier for an object.. [optional] # noqa: E501 + location_id (str): A unique identifier for an object.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.total_amount = total_amount + self.type = type + self.ledger_account = ledger_account + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, total_amount, type, ledger_account, *args, **kwargs): # noqa: E501 + """JournalEntryLineItem - a model defined in OpenAPI + + Args: + total_amount (float, none_type): Debit entries are considered positive, and credit entries are considered negative. + type (str): Debit entries are considered positive, and credit entries are considered negative. + ledger_account (LinkedLedgerAccount): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + description (str, none_type): User defined description. [optional] # noqa: E501 + tax_amount (float, none_type): Tax amount. [optional] # noqa: E501 + tax_rate (LinkedTaxRate): [optional] # noqa: E501 + tracking_category (LinkedTrackingCategory): [optional] # noqa: E501 + department_id (str): A unique identifier for an object.. [optional] # noqa: E501 + location_id (str): A unique identifier for an object.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.total_amount = total_amount + self.type = type + self.ledger_account = ledger_account + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/lead.py b/src/apideck/model/lead.py index d7d1ea2e3..281a3b2de 100644 --- a/src/apideck/model/lead.py +++ b/src/apideck/model/lead.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/lead_event_type.py b/src/apideck/model/lead_event_type.py index b45734d45..be54db66d 100644 --- a/src/apideck/model/lead_event_type.py +++ b/src/apideck/model/lead_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/leads_filter.py b/src/apideck/model/leads_filter.py index d965722e0..155c2aad0 100644 --- a/src/apideck/model/leads_filter.py +++ b/src/apideck/model/leads_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/leads_sort.py b/src/apideck/model/leads_sort.py index 18aa6dfa5..1d3b317a2 100644 --- a/src/apideck/model/leads_sort.py +++ b/src/apideck/model/leads_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/ledger_account.py b/src/apideck/model/ledger_account.py index e11f27046..8930c7737 100644 --- a/src/apideck/model/ledger_account.py +++ b/src/apideck/model/ledger_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -252,7 +252,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 display_id (str): The human readable display ID used when displaying the account. [optional] # noqa: E501 nominal_code (str, none_type): The nominal code of the ledger account.. [optional] # noqa: E501 code (str, none_type): The code assigned to the account.. [optional] # noqa: E501 @@ -277,11 +277,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 sub_account (bool, none_type): Whether the account is a sub account or not.. [optional] # noqa: E501 sub_accounts ([bool, date, datetime, dict, float, int, list, str, none_type]): The sub accounts of the account.. [optional] # noqa: E501 last_reconciliation_date (date, none_type): Reconciliation Date means the last calendar day of each Reconciliation Period.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -363,7 +363,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 display_id (str): The human readable display ID used when displaying the account. [optional] # noqa: E501 nominal_code (str, none_type): The nominal code of the ledger account.. [optional] # noqa: E501 code (str, none_type): The code assigned to the account.. [optional] # noqa: E501 @@ -388,11 +388,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 sub_account (bool, none_type): Whether the account is a sub account or not.. [optional] # noqa: E501 sub_accounts ([bool, date, datetime, dict, float, int, list, str, none_type]): The sub accounts of the account.. [optional] # noqa: E501 last_reconciliation_date (date, none_type): Reconciliation Date means the last calendar day of each Reconciliation Period.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/ledger_account_categories.py b/src/apideck/model/ledger_account_categories.py index 3be27611b..8b40cd121 100644 --- a/src/apideck/model/ledger_account_categories.py +++ b/src/apideck/model/ledger_account_categories.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/ledger_account_parent_account.py b/src/apideck/model/ledger_account_parent_account.py index 32cabcb7d..24e1bc57f 100644 --- a/src/apideck/model/ledger_account_parent_account.py +++ b/src/apideck/model/ledger_account_parent_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/ledger_accounts.py b/src/apideck/model/ledger_accounts.py index e2cf9803d..f1e37182b 100644 --- a/src/apideck/model/ledger_accounts.py +++ b/src/apideck/model/ledger_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/linked_connector_resource.py b/src/apideck/model/linked_connector_resource.py index 65b1c380f..62a00b8ea 100644 --- a/src/apideck/model/linked_connector_resource.py +++ b/src/apideck/model/linked_connector_resource.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/linked_customer.py b/src/apideck/model/linked_customer.py index 2e3ee725d..07cfd51f3 100644 --- a/src/apideck/model/linked_customer.py +++ b/src/apideck/model/linked_customer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/linked_ecommerce_customer.py b/src/apideck/model/linked_ecommerce_customer.py new file mode 100644 index 000000000..990ad1c32 --- /dev/null +++ b/src/apideck/model/linked_ecommerce_customer.py @@ -0,0 +1,286 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.email import Email + from apideck.model.phone_number import PhoneNumber + globals()['Email'] = Email + globals()['PhoneNumber'] = PhoneNumber + + +class LinkedEcommerceCustomer(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + 'first_name': (str,), # noqa: E501 + 'last_name': (str,), # noqa: E501 + 'company_name': (str,), # noqa: E501 + 'phone_numbers': ([PhoneNumber],), # noqa: E501 + 'emails': ([Email],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + 'first_name': 'first_name', # noqa: E501 + 'last_name': 'last_name', # noqa: E501 + 'company_name': 'company_name', # noqa: E501 + 'phone_numbers': 'phone_numbers', # noqa: E501 + 'emails': 'emails', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """LinkedEcommerceCustomer - a model defined in OpenAPI + + Args: + id (str): The ID of the customer this entity is linked to. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): Full name of the customer. [optional] # noqa: E501 + first_name (str): First name of the customer. [optional] # noqa: E501 + last_name (str): Last name of the customer. [optional] # noqa: E501 + company_name (str): Company name of the customer. [optional] # noqa: E501 + phone_numbers ([PhoneNumber]): [optional] # noqa: E501 + emails ([Email]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """LinkedEcommerceCustomer - a model defined in OpenAPI + + Args: + id (str): The ID of the customer this entity is linked to. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): Full name of the customer. [optional] # noqa: E501 + first_name (str): First name of the customer. [optional] # noqa: E501 + last_name (str): Last name of the customer. [optional] # noqa: E501 + company_name (str): Company name of the customer. [optional] # noqa: E501 + phone_numbers ([PhoneNumber]): [optional] # noqa: E501 + emails ([Email]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/linked_ecommerce_order.py b/src/apideck/model/linked_ecommerce_order.py new file mode 100644 index 000000000..ee0923a7f --- /dev/null +++ b/src/apideck/model/linked_ecommerce_order.py @@ -0,0 +1,263 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.ecommerce_order_status import EcommerceOrderStatus + globals()['EcommerceOrderStatus'] = EcommerceOrderStatus + + +class LinkedEcommerceOrder(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'total': (str,), # noqa: E501 + 'status': (EcommerceOrderStatus,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'total': 'total', # noqa: E501 + 'status': 'status', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """LinkedEcommerceOrder - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + total (str): The total amount of the order.. [optional] # noqa: E501 + status (EcommerceOrderStatus): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """LinkedEcommerceOrder - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): A unique identifier for an object.. [optional] # noqa: E501 + total (str): The total amount of the order.. [optional] # noqa: E501 + status (EcommerceOrderStatus): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/linked_folder.py b/src/apideck/model/linked_folder.py index 69484e076..74afd6e17 100644 --- a/src/apideck/model/linked_folder.py +++ b/src/apideck/model/linked_folder.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -107,7 +107,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 """LinkedFolder - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/src/apideck/model/linked_invoice_item.py b/src/apideck/model/linked_invoice_item.py index dce4ebb63..19242de7c 100644 --- a/src/apideck/model/linked_invoice_item.py +++ b/src/apideck/model/linked_invoice_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/linked_ledger_account.py b/src/apideck/model/linked_ledger_account.py index 532a1bfb2..69ab57097 100644 --- a/src/apideck/model/linked_ledger_account.py +++ b/src/apideck/model/linked_ledger_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/linked_parent_customer.py b/src/apideck/model/linked_parent_customer.py new file mode 100644 index 000000000..e5a860b4a --- /dev/null +++ b/src/apideck/model/linked_parent_customer.py @@ -0,0 +1,265 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class LinkedParentCustomer(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = True + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """LinkedParentCustomer - a model defined in OpenAPI + + Args: + id (str): The parent ID of the customer this entity is linked to. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The name of the parent customer.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, id, *args, **kwargs): # noqa: E501 + """LinkedParentCustomer - a model defined in OpenAPI + + Args: + id (str): The parent ID of the customer this entity is linked to. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The name of the parent customer.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/linked_supplier.py b/src/apideck/model/linked_supplier.py index 41c78b18c..a191ef44c 100644 --- a/src/apideck/model/linked_supplier.py +++ b/src/apideck/model/linked_supplier.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/linked_tax_rate.py b/src/apideck/model/linked_tax_rate.py index 0efc5dc6d..c79e535f3 100644 --- a/src/apideck/model/linked_tax_rate.py +++ b/src/apideck/model/linked_tax_rate.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -84,6 +84,7 @@ def openapi_types(): 'id': (str, none_type,), # noqa: E501 'code': (str, none_type,), # noqa: E501 'name': (str, none_type,), # noqa: E501 + 'rate': (float, none_type,), # noqa: E501 } @cached_property @@ -95,11 +96,13 @@ def discriminator(): 'id': 'id', # noqa: E501 'code': 'code', # noqa: E501 'name': 'name', # noqa: E501 + 'rate': 'rate', # noqa: E501 } read_only_vars = { 'code', # noqa: E501 'name', # noqa: E501 + 'rate', # noqa: E501 } _composed_schemas = {} @@ -143,6 +146,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 id (str, none_type): The ID of the object.. [optional] # noqa: E501 code (str, none_type): Tax rate code. [optional] # noqa: E501 name (str, none_type): Name of the tax rate. [optional] # noqa: E501 + rate (float, none_type): Rate of the tax rate. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -227,6 +231,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 id (str, none_type): The ID of the object.. [optional] # noqa: E501 code (str, none_type): Tax rate code. [optional] # noqa: E501 name (str, none_type): Name of the tax rate. [optional] # noqa: E501 + rate (float, none_type): Rate of the tax rate. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/linked_tracking_category.py b/src/apideck/model/linked_tracking_category.py new file mode 100644 index 000000000..d126c7314 --- /dev/null +++ b/src/apideck/model/linked_tracking_category.py @@ -0,0 +1,259 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class LinkedTrackingCategory(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = True + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'id': (str,), # noqa: E501 + 'name': (str, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'name': 'name', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """LinkedTrackingCategory - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): The unique identifier for the tracking category.. [optional] # noqa: E501 + name (str, none_type): The name of the tracking category.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """LinkedTrackingCategory - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + id (str): The unique identifier for the tracking category.. [optional] # noqa: E501 + name (str, none_type): The name of the tracking category.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/links.py b/src/apideck/model/links.py index 253ca650f..e356a0d81 100644 --- a/src/apideck/model/links.py +++ b/src/apideck/model/links.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/location.py b/src/apideck/model/location.py index 63bf698f6..882ce2871 100644 --- a/src/apideck/model/location.py +++ b/src/apideck/model/location.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -166,17 +166,17 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str, none_type): The name of the location. [optional] # noqa: E501 business_name (str, none_type): The business name of the location. [optional] # noqa: E501 address (Address): [optional] # noqa: E501 status (str, none_type): Status of this location.. [optional] # noqa: E501 merchant_id (str): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -258,17 +258,17 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str, none_type): The name of the location. [optional] # noqa: E501 business_name (str, none_type): The business name of the location. [optional] # noqa: E501 address (Address): [optional] # noqa: E501 status (str, none_type): Status of this location.. [optional] # noqa: E501 merchant_id (str): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/log.py b/src/apideck/model/log.py index 4ab2a6402..0444f66a9 100644 --- a/src/apideck/model/log.py +++ b/src/apideck/model/log.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -69,6 +69,8 @@ class Log(ModelNormal): 'ACCOUNTING': "accounting", 'HRIS': "hris", 'ATS': "ats", + 'ECOMMERCE': "ecommerce", + 'ISSUE-TRACKING': "issue-tracking", 'POS': "pos", 'FILE-STORAGE': "file-storage", 'SMS': "sms", diff --git a/src/apideck/model/log_operation.py b/src/apideck/model/log_operation.py index 2bd13ef7c..1b3cb4e17 100644 --- a/src/apideck/model/log_operation.py +++ b/src/apideck/model/log_operation.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/log_service.py b/src/apideck/model/log_service.py index 86b636c24..ba6b2d0b4 100644 --- a/src/apideck/model/log_service.py +++ b/src/apideck/model/log_service.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/logs_filter.py b/src/apideck/model/logs_filter.py index 5564a0db2..53cdb336a 100644 --- a/src/apideck/model/logs_filter.py +++ b/src/apideck/model/logs_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/merchant.py b/src/apideck/model/merchant.py index fd5947ad4..b97f87a19 100644 --- a/src/apideck/model/merchant.py +++ b/src/apideck/model/merchant.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -172,7 +172,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str, none_type): The name of the merchant. [optional] # noqa: E501 address (Address): [optional] # noqa: E501 owner_id (str): [optional] # noqa: E501 @@ -181,10 +181,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 service_charges ([ServiceCharge]): [optional] # noqa: E501 language (str, none_type): language code according to ISO 639-1. For the United States - EN. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -266,7 +266,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str, none_type): The name of the merchant. [optional] # noqa: E501 address (Address): [optional] # noqa: E501 owner_id (str): [optional] # noqa: E501 @@ -275,10 +275,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 service_charges ([ServiceCharge]): [optional] # noqa: E501 language (str, none_type): language code according to ISO 639-1. For the United States - EN. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/message.py b/src/apideck/model/message.py index 95a159506..4b714c663 100644 --- a/src/apideck/model/message.py +++ b/src/apideck/model/message.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -218,7 +218,7 @@ def _from_openapi_data(cls, _from, to, body, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 subject (str): [optional] # noqa: E501 type (str): Set to sms for SMS messages and mms for MMS messages.. [optional] # noqa: E501 number_of_units (int): The number of units that make up the complete message. Messages can be split up due to the constraints of the message size.. [optional] # noqa: E501 @@ -232,10 +232,10 @@ def _from_openapi_data(cls, _from, to, body, *args, **kwargs): # noqa: E501 price (Price): [optional] # noqa: E501 error (Error): [optional] # noqa: E501 messaging_service_id (str): The ID of the Messaging Service used with the message. In case of Plivo this links to the Powerpack ID.. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -325,7 +325,7 @@ def __init__(self, _from, to, body, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 subject (str): [optional] # noqa: E501 type (str): Set to sms for SMS messages and mms for MMS messages.. [optional] # noqa: E501 number_of_units (int): The number of units that make up the complete message. Messages can be split up due to the constraints of the message size.. [optional] # noqa: E501 @@ -339,10 +339,10 @@ def __init__(self, _from, to, body, *args, **kwargs): # noqa: E501 price (Price): [optional] # noqa: E501 error (Error): [optional] # noqa: E501 messaging_service_id (str): The ID of the Messaging Service used with the message. In case of Plivo this links to the Powerpack ID.. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/meta.py b/src/apideck/model/meta.py index aebfac576..be505cc5f 100644 --- a/src/apideck/model/meta.py +++ b/src/apideck/model/meta.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/meta_cursors.py b/src/apideck/model/meta_cursors.py index 6d5cb01fa..7aebe4e44 100644 --- a/src/apideck/model/meta_cursors.py +++ b/src/apideck/model/meta_cursors.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/modifier.py b/src/apideck/model/modifier.py index 2884d9a40..4abd677df 100644 --- a/src/apideck/model/modifier.py +++ b/src/apideck/model/modifier.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -166,16 +166,16 @@ def _from_openapi_data(cls, name, modifier_group_id, *args, **kwargs): # noqa: Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 idempotency_key (IdempotencyKey): [optional] # noqa: E501 alternate_name (str): [optional] # noqa: E501 price_amount (float): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 available (bool, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -263,16 +263,16 @@ def __init__(self, name, modifier_group_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 idempotency_key (IdempotencyKey): [optional] # noqa: E501 alternate_name (str): [optional] # noqa: E501 price_amount (float): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 available (bool, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/modifier_group.py b/src/apideck/model/modifier_group.py index f4778f911..07dbffcb7 100644 --- a/src/apideck/model/modifier_group.py +++ b/src/apideck/model/modifier_group.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -163,7 +163,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 alternate_name (str): [optional] # noqa: E501 minimum_required (int): [optional] # noqa: E501 @@ -172,11 +172,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 present_at_all_locations (bool): [optional] # noqa: E501 modifiers ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -258,7 +258,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 alternate_name (str): [optional] # noqa: E501 minimum_required (int): [optional] # noqa: E501 @@ -267,11 +267,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 present_at_all_locations (bool): [optional] # noqa: E501 modifiers ([bool, date, datetime, dict, float, int, list, str, none_type]): [optional] # noqa: E501 deleted (bool, none_type): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/modifier_group_filter.py b/src/apideck/model/modifier_group_filter.py index 582b2f55e..d795fab84 100644 --- a/src/apideck/model/modifier_group_filter.py +++ b/src/apideck/model/modifier_group_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/not_found_response.py b/src/apideck/model/not_found_response.py index d1840c02e..7f3b9dd63 100644 --- a/src/apideck/model/not_found_response.py +++ b/src/apideck/model/not_found_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/not_implemented_response.py b/src/apideck/model/not_implemented_response.py index c51eaead9..9f8b5d387 100644 --- a/src/apideck/model/not_implemented_response.py +++ b/src/apideck/model/not_implemented_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/note.py b/src/apideck/model/note.py index 90417c68d..90dd0d101 100644 --- a/src/apideck/model/note.py +++ b/src/apideck/model/note.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/o_auth_grant_type.py b/src/apideck/model/o_auth_grant_type.py index 05001350b..ec331298e 100644 --- a/src/apideck/model/o_auth_grant_type.py +++ b/src/apideck/model/o_auth_grant_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/offer.py b/src/apideck/model/offer.py index 00a18ffb9..c3c54a10d 100644 --- a/src/apideck/model/offer.py +++ b/src/apideck/model/offer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -143,12 +143,12 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 application_id (str): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -230,12 +230,12 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 application_id (str): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/opportunities_filter.py b/src/apideck/model/opportunities_filter.py index 98a879e03..64957fd9b 100644 --- a/src/apideck/model/opportunities_filter.py +++ b/src/apideck/model/opportunities_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/opportunities_sort.py b/src/apideck/model/opportunities_sort.py index d0cf29048..4c0b31b91 100644 --- a/src/apideck/model/opportunities_sort.py +++ b/src/apideck/model/opportunities_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/opportunity.py b/src/apideck/model/opportunity.py index 87698cc8e..e1f400cf8 100644 --- a/src/apideck/model/opportunity.py +++ b/src/apideck/model/opportunity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -107,6 +107,7 @@ def openapi_types(): 'lead_id': (str, none_type,), # noqa: E501 'lead_source': (str, none_type,), # noqa: E501 'contact_id': (str, none_type,), # noqa: E501 + 'contact_ids': ([str],), # noqa: E501 'company_id': (str, none_type,), # noqa: E501 'company_name': (str, none_type,), # noqa: E501 'owner_id': (str, none_type,), # noqa: E501 @@ -154,6 +155,7 @@ def discriminator(): 'lead_id': 'lead_id', # noqa: E501 'lead_source': 'lead_source', # noqa: E501 'contact_id': 'contact_id', # noqa: E501 + 'contact_ids': 'contact_ids', # noqa: E501 'company_id': 'company_id', # noqa: E501 'company_name': 'company_name', # noqa: E501 'owner_id': 'owner_id', # noqa: E501 @@ -198,8 +200,8 @@ def _from_openapi_data(cls, title, primary_contact_id, *args, **kwargs): # noqa """Opportunity - a model defined in OpenAPI Args: - title (str): - primary_contact_id (str, none_type): + title (str): The title or name of the opportunity. + primary_contact_id (str, none_type): The unique identifier of the primary contact associated with the opportunity. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -232,43 +234,44 @@ def _from_openapi_data(cls, title, primary_contact_id, *args, **kwargs): # noqa Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 - type (str, none_type): [optional] # noqa: E501 - monetary_amount (float, none_type): [optional] # noqa: E501 + id (str): A unique identifier for the opportunity.. [optional] # noqa: E501 + description (str, none_type): A description of the opportunity.. [optional] # noqa: E501 + type (str, none_type): The type of the opportunity. [optional] # noqa: E501 + monetary_amount (float, none_type): The monetary value associated with the opportunity. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - win_probability (float, none_type): [optional] # noqa: E501 - expected_revenue (float, none_type): Expected Revenue. [optional] # noqa: E501 - close_date (date, none_type): [optional] # noqa: E501 - loss_reason_id (str, none_type): [optional] # noqa: E501 - loss_reason (str, none_type): [optional] # noqa: E501 - won_reason_id (str, none_type): [optional] # noqa: E501 - won_reason (str, none_type): [optional] # noqa: E501 - pipeline_id (str, none_type): [optional] # noqa: E501 - pipeline_stage_id (str, none_type): [optional] # noqa: E501 - source_id (str, none_type): [optional] # noqa: E501 - lead_id (str, none_type): [optional] # noqa: E501 - lead_source (str, none_type): Lead source. [optional] # noqa: E501 - contact_id (str, none_type): [optional] # noqa: E501 - company_id (str, none_type): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - owner_id (str, none_type): [optional] # noqa: E501 - priority (str, none_type): [optional] # noqa: E501 - status (str, none_type): [optional] # noqa: E501 - status_id (str, none_type): [optional] # noqa: E501 + win_probability (float, none_type): The probability of winning the opportunity, expressed as a percentage.. [optional] # noqa: E501 + expected_revenue (float, none_type): The expected revenue from the opportunity. [optional] # noqa: E501 + close_date (date, none_type): The actual closing date for the opportunity. If close_date is null, the opportunity is not closed yet.. [optional] # noqa: E501 + loss_reason_id (str, none_type): The unique identifier of the reason why the opportunity was lost.. [optional] # noqa: E501 + loss_reason (str, none_type): The reason why the opportunity was lost.. [optional] # noqa: E501 + won_reason_id (str, none_type): The unique identifier of the reason why the opportunity was won.. [optional] # noqa: E501 + won_reason (str, none_type): The reason why the opportunity was won.. [optional] # noqa: E501 + pipeline_id (str, none_type): The unique identifier of the pipeline associated with the opportunity. [optional] # noqa: E501 + pipeline_stage_id (str, none_type): The unique identifier of the stage in the pipeline associated with the opportunity.. [optional] # noqa: E501 + source_id (str, none_type): The unique identifier of the source of the opportunity.. [optional] # noqa: E501 + lead_id (str, none_type): The unique identifier of the lead associated with the opportunity.. [optional] # noqa: E501 + lead_source (str, none_type): The source of the lead associated with the opportunity.. [optional] # noqa: E501 + contact_id (str, none_type): The unique identifier of the contact associated with the opportunity.. [optional] # noqa: E501 + contact_ids ([str]): An array of unique identifiers of all contacts associated with the opportunity.. [optional] # noqa: E501 + company_id (str, none_type): The unique identifier of the company associated with the opportunity.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company associated with the opportunity.. [optional] # noqa: E501 + owner_id (str, none_type): The unique identifier of the user who owns the opportunity.. [optional] # noqa: E501 + priority (str, none_type): The priority level of the opportunity.. [optional] # noqa: E501 + status (str, none_type): The current status of the opportunity.. [optional] # noqa: E501 + status_id (str, none_type): The unique identifier of the current status of the opportunity.. [optional] # noqa: E501 tags (Tags): [optional] # noqa: E501 - interaction_count (float, none_type): [optional] # noqa: E501 + interaction_count (float, none_type): The number of interactions with the opportunity.. [optional] # noqa: E501 custom_fields ([CustomField]): [optional] # noqa: E501 - stage_last_changed_at (datetime, none_type): [optional] # noqa: E501 - last_activity_at (str, none_type): [optional] # noqa: E501 - deleted (bool): [optional] # noqa: E501 - date_stage_changed (datetime, none_type): [optional] # noqa: E501 - date_last_contacted (datetime, none_type): [optional] # noqa: E501 - date_lead_created (datetime, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + stage_last_changed_at (datetime, none_type): The date and time when the stage of the opportunity was last changed.. [optional] # noqa: E501 + last_activity_at (str, none_type): The date and time of the last activity associated with the opportunity.. [optional] # noqa: E501 + deleted (bool): Indicates whether the opportunity has been deleted.. [optional] # noqa: E501 + date_stage_changed (datetime, none_type): The date and time when the stage of the opportunity was last changed.. [optional] # noqa: E501 + date_last_contacted (datetime, none_type): The date and time when the opportunity was last contacted.. [optional] # noqa: E501 + date_lead_created (datetime, none_type): The date and time when the lead associated with the opportunity was created.. [optional] # noqa: E501 + updated_by (str, none_type): The unique identifier of the user who last updated the opportunity.. [optional] # noqa: E501 + created_by (str, none_type): The unique identifier of the user who created the opportunity.. [optional] # noqa: E501 + updated_at (datetime): The date and time when the opportunity was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the opportunity was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -322,8 +325,8 @@ def __init__(self, title, primary_contact_id, *args, **kwargs): # noqa: E501 """Opportunity - a model defined in OpenAPI Args: - title (str): - primary_contact_id (str, none_type): + title (str): The title or name of the opportunity. + primary_contact_id (str, none_type): The unique identifier of the primary contact associated with the opportunity. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -356,43 +359,44 @@ def __init__(self, title, primary_contact_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 - type (str, none_type): [optional] # noqa: E501 - monetary_amount (float, none_type): [optional] # noqa: E501 + id (str): A unique identifier for the opportunity.. [optional] # noqa: E501 + description (str, none_type): A description of the opportunity.. [optional] # noqa: E501 + type (str, none_type): The type of the opportunity. [optional] # noqa: E501 + monetary_amount (float, none_type): The monetary value associated with the opportunity. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 - win_probability (float, none_type): [optional] # noqa: E501 - expected_revenue (float, none_type): Expected Revenue. [optional] # noqa: E501 - close_date (date, none_type): [optional] # noqa: E501 - loss_reason_id (str, none_type): [optional] # noqa: E501 - loss_reason (str, none_type): [optional] # noqa: E501 - won_reason_id (str, none_type): [optional] # noqa: E501 - won_reason (str, none_type): [optional] # noqa: E501 - pipeline_id (str, none_type): [optional] # noqa: E501 - pipeline_stage_id (str, none_type): [optional] # noqa: E501 - source_id (str, none_type): [optional] # noqa: E501 - lead_id (str, none_type): [optional] # noqa: E501 - lead_source (str, none_type): Lead source. [optional] # noqa: E501 - contact_id (str, none_type): [optional] # noqa: E501 - company_id (str, none_type): [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - owner_id (str, none_type): [optional] # noqa: E501 - priority (str, none_type): [optional] # noqa: E501 - status (str, none_type): [optional] # noqa: E501 - status_id (str, none_type): [optional] # noqa: E501 + win_probability (float, none_type): The probability of winning the opportunity, expressed as a percentage.. [optional] # noqa: E501 + expected_revenue (float, none_type): The expected revenue from the opportunity. [optional] # noqa: E501 + close_date (date, none_type): The actual closing date for the opportunity. If close_date is null, the opportunity is not closed yet.. [optional] # noqa: E501 + loss_reason_id (str, none_type): The unique identifier of the reason why the opportunity was lost.. [optional] # noqa: E501 + loss_reason (str, none_type): The reason why the opportunity was lost.. [optional] # noqa: E501 + won_reason_id (str, none_type): The unique identifier of the reason why the opportunity was won.. [optional] # noqa: E501 + won_reason (str, none_type): The reason why the opportunity was won.. [optional] # noqa: E501 + pipeline_id (str, none_type): The unique identifier of the pipeline associated with the opportunity. [optional] # noqa: E501 + pipeline_stage_id (str, none_type): The unique identifier of the stage in the pipeline associated with the opportunity.. [optional] # noqa: E501 + source_id (str, none_type): The unique identifier of the source of the opportunity.. [optional] # noqa: E501 + lead_id (str, none_type): The unique identifier of the lead associated with the opportunity.. [optional] # noqa: E501 + lead_source (str, none_type): The source of the lead associated with the opportunity.. [optional] # noqa: E501 + contact_id (str, none_type): The unique identifier of the contact associated with the opportunity.. [optional] # noqa: E501 + contact_ids ([str]): An array of unique identifiers of all contacts associated with the opportunity.. [optional] # noqa: E501 + company_id (str, none_type): The unique identifier of the company associated with the opportunity.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company associated with the opportunity.. [optional] # noqa: E501 + owner_id (str, none_type): The unique identifier of the user who owns the opportunity.. [optional] # noqa: E501 + priority (str, none_type): The priority level of the opportunity.. [optional] # noqa: E501 + status (str, none_type): The current status of the opportunity.. [optional] # noqa: E501 + status_id (str, none_type): The unique identifier of the current status of the opportunity.. [optional] # noqa: E501 tags (Tags): [optional] # noqa: E501 - interaction_count (float, none_type): [optional] # noqa: E501 + interaction_count (float, none_type): The number of interactions with the opportunity.. [optional] # noqa: E501 custom_fields ([CustomField]): [optional] # noqa: E501 - stage_last_changed_at (datetime, none_type): [optional] # noqa: E501 - last_activity_at (str, none_type): [optional] # noqa: E501 - deleted (bool): [optional] # noqa: E501 - date_stage_changed (datetime, none_type): [optional] # noqa: E501 - date_last_contacted (datetime, none_type): [optional] # noqa: E501 - date_lead_created (datetime, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + stage_last_changed_at (datetime, none_type): The date and time when the stage of the opportunity was last changed.. [optional] # noqa: E501 + last_activity_at (str, none_type): The date and time of the last activity associated with the opportunity.. [optional] # noqa: E501 + deleted (bool): Indicates whether the opportunity has been deleted.. [optional] # noqa: E501 + date_stage_changed (datetime, none_type): The date and time when the stage of the opportunity was last changed.. [optional] # noqa: E501 + date_last_contacted (datetime, none_type): The date and time when the opportunity was last contacted.. [optional] # noqa: E501 + date_lead_created (datetime, none_type): The date and time when the lead associated with the opportunity was created.. [optional] # noqa: E501 + updated_by (str, none_type): The unique identifier of the user who last updated the opportunity.. [optional] # noqa: E501 + created_by (str, none_type): The unique identifier of the user who created the opportunity.. [optional] # noqa: E501 + updated_at (datetime): The date and time when the opportunity was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the opportunity was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/order.py b/src/apideck/model/order.py index 7391dd486..e6d912876 100644 --- a/src/apideck/model/order.py +++ b/src/apideck/model/order.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -273,7 +273,7 @@ def _from_openapi_data(cls, merchant_id, location_id, *args, **kwargs): # noqa: Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 idempotency_key (IdempotencyKey): [optional] # noqa: E501 order_number (str): [optional] # noqa: E501 order_date (date, none_type): [optional] # noqa: E501 @@ -309,10 +309,10 @@ def _from_openapi_data(cls, merchant_id, location_id, *args, **kwargs): # noqa: voided (bool): [optional] # noqa: E501 voided_at (datetime): [optional] # noqa: E501 version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -400,7 +400,7 @@ def __init__(self, merchant_id, location_id, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 idempotency_key (IdempotencyKey): [optional] # noqa: E501 order_number (str): [optional] # noqa: E501 order_date (date, none_type): [optional] # noqa: E501 @@ -436,10 +436,10 @@ def __init__(self, merchant_id, location_id, *args, **kwargs): # noqa: E501 voided (bool): [optional] # noqa: E501 voided_at (datetime): [optional] # noqa: E501 version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/order_customers.py b/src/apideck/model/order_customers.py index bdb4943d1..b6646eca4 100644 --- a/src/apideck/model/order_customers.py +++ b/src/apideck/model/order_customers.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -89,6 +89,7 @@ def openapi_types(): """ lazy_import() return { + 'id': (str,), # noqa: E501 'first_name': (str, none_type,), # noqa: E501 'middle_name': (str, none_type,), # noqa: E501 'last_name': (str, none_type,), # noqa: E501 @@ -102,6 +103,7 @@ def discriminator(): attribute_map = { + 'id': 'id', # noqa: E501 'first_name': 'first_name', # noqa: E501 'middle_name': 'middle_name', # noqa: E501 'last_name': 'last_name', # noqa: E501 @@ -150,6 +152,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + id (str): [optional] # noqa: E501 first_name (str, none_type): [optional] # noqa: E501 middle_name (str, none_type): [optional] # noqa: E501 last_name (str, none_type): [optional] # noqa: E501 @@ -236,6 +239,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) + id (str): [optional] # noqa: E501 first_name (str, none_type): [optional] # noqa: E501 middle_name (str, none_type): [optional] # noqa: E501 last_name (str, none_type): [optional] # noqa: E501 diff --git a/src/apideck/model/order_discounts.py b/src/apideck/model/order_discounts.py index 7b1527272..e8d73a549 100644 --- a/src/apideck/model/order_discounts.py +++ b/src/apideck/model/order_discounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -162,8 +162,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - product_id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + product_id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 type (str): [optional] # noqa: E501 amount (int): [optional] # noqa: E501 @@ -250,8 +250,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - product_id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + product_id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 type (str): [optional] # noqa: E501 amount (int): [optional] # noqa: E501 diff --git a/src/apideck/model/order_fulfillments.py b/src/apideck/model/order_fulfillments.py index 456d50b0c..0ef5a2320 100644 --- a/src/apideck/model/order_fulfillments.py +++ b/src/apideck/model/order_fulfillments.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/order_line_items.py b/src/apideck/model/order_line_items.py index 91f01aee9..3536a46ca 100644 --- a/src/apideck/model/order_line_items.py +++ b/src/apideck/model/order_line_items.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -155,7 +155,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 item (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 total_tax (int, none_type): [optional] # noqa: E501 @@ -247,7 +247,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 item (bool, date, datetime, dict, float, int, list, str, none_type): [optional] # noqa: E501 total_tax (int, none_type): [optional] # noqa: E501 diff --git a/src/apideck/model/order_payments.py b/src/apideck/model/order_payments.py index e0ee53b41..1b6fcef55 100644 --- a/src/apideck/model/order_payments.py +++ b/src/apideck/model/order_payments.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -145,7 +145,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 amount (int): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 """ @@ -229,7 +229,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 amount (int): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 """ diff --git a/src/apideck/model/order_pickup_details.py b/src/apideck/model/order_pickup_details.py index dc2e03e05..33aac3602 100644 --- a/src/apideck/model/order_pickup_details.py +++ b/src/apideck/model/order_pickup_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/order_pickup_details_curbside_pickup_details.py b/src/apideck/model/order_pickup_details_curbside_pickup_details.py index a34417fba..e9b5ca9a9 100644 --- a/src/apideck/model/order_pickup_details_curbside_pickup_details.py +++ b/src/apideck/model/order_pickup_details_curbside_pickup_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/order_pickup_details_recipient.py b/src/apideck/model/order_pickup_details_recipient.py index b856e66f7..1adaf91cd 100644 --- a/src/apideck/model/order_pickup_details_recipient.py +++ b/src/apideck/model/order_pickup_details_recipient.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/order_refunds.py b/src/apideck/model/order_refunds.py index ebced2732..ae7a3859d 100644 --- a/src/apideck/model/order_refunds.py +++ b/src/apideck/model/order_refunds.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -164,14 +164,14 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - location_id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + location_id (str): A unique identifier for an object.. [optional] # noqa: E501 amount (int): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 reason (str): [optional] # noqa: E501 status (str): [optional] # noqa: E501 - tender_id (str): [optional] # noqa: E501 - transaction_id (str): [optional] # noqa: E501 + tender_id (str): A unique identifier for an object.. [optional] # noqa: E501 + transaction_id (str): A unique identifier for an object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -253,14 +253,14 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - location_id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + location_id (str): A unique identifier for an object.. [optional] # noqa: E501 amount (int): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 reason (str): [optional] # noqa: E501 status (str): [optional] # noqa: E501 - tender_id (str): [optional] # noqa: E501 - transaction_id (str): [optional] # noqa: E501 + tender_id (str): A unique identifier for an object.. [optional] # noqa: E501 + transaction_id (str): A unique identifier for an object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/order_tenders.py b/src/apideck/model/order_tenders.py index 7a398bb5c..52bee895d 100644 --- a/src/apideck/model/order_tenders.py +++ b/src/apideck/model/order_tenders.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -208,7 +208,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 type (str): [optional] # noqa: E501 note (str): [optional] # noqa: E501 @@ -227,9 +227,9 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 card (PaymentCard): [optional] # noqa: E501 card_status (str, none_type): The status of the card. Only applicable when the tender type is card.. [optional] # noqa: E501 card_entry_method (str, none_type): The entry method of the card. Only applicable when the tender type is card.. [optional] # noqa: E501 - payment_id (str): [optional] # noqa: E501 - location_id (str): [optional] # noqa: E501 - transaction_id (str): [optional] # noqa: E501 + payment_id (str): A unique identifier for an object.. [optional] # noqa: E501 + location_id (str): A unique identifier for an object.. [optional] # noqa: E501 + transaction_id (str): A unique identifier for an object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -311,7 +311,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 type (str): [optional] # noqa: E501 note (str): [optional] # noqa: E501 @@ -330,9 +330,9 @@ def __init__(self, *args, **kwargs): # noqa: E501 card (PaymentCard): [optional] # noqa: E501 card_status (str, none_type): The status of the card. Only applicable when the tender type is card.. [optional] # noqa: E501 card_entry_method (str, none_type): The entry method of the card. Only applicable when the tender type is card.. [optional] # noqa: E501 - payment_id (str): [optional] # noqa: E501 - location_id (str): [optional] # noqa: E501 - transaction_id (str): [optional] # noqa: E501 + payment_id (str): A unique identifier for an object.. [optional] # noqa: E501 + location_id (str): A unique identifier for an object.. [optional] # noqa: E501 + transaction_id (str): A unique identifier for an object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/order_type.py b/src/apideck/model/order_type.py index 59bff7cdd..c0e9f6d94 100644 --- a/src/apideck/model/order_type.py +++ b/src/apideck/model/order_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -145,13 +145,13 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 default (bool): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -233,13 +233,13 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): [optional] # noqa: E501 default (bool): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/owner.py b/src/apideck/model/owner.py index a65d2e921..03db5f6a8 100644 --- a/src/apideck/model/owner.py +++ b/src/apideck/model/owner.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/pagination_coverage.py b/src/apideck/model/pagination_coverage.py index 90eb23517..78d29db11 100644 --- a/src/apideck/model/pagination_coverage.py +++ b/src/apideck/model/pagination_coverage.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/passthrough.py b/src/apideck/model/pass_through_query.py similarity index 98% rename from src/apideck/model/passthrough.py rename to src/apideck/model/pass_through_query.py index c298a9388..be4af545e 100644 --- a/src/apideck/model/passthrough.py +++ b/src/apideck/model/pass_through_query.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -30,7 +30,7 @@ -class Passthrough(ModelNormal): +class PassThroughQuery(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -101,7 +101,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """Passthrough - a model defined in OpenAPI + """PassThroughQuery - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -183,7 +183,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """Passthrough - a model defined in OpenAPI + """PassThroughQuery - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/src/apideck/model/payment.py b/src/apideck/model/payment.py index 9eebce597..bcecb67f6 100644 --- a/src/apideck/model/payment.py +++ b/src/apideck/model/payment.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -88,14 +88,7 @@ class Payment(ModelNormal): validations = { } - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + additional_properties_type = None _nullable = False @@ -111,15 +104,16 @@ def openapi_types(): """ lazy_import() return { + 'id': (str,), # noqa: E501 'total_amount': (float,), # noqa: E501 'transaction_date': (datetime,), # noqa: E501 - 'id': (str,), # noqa: E501 'downstream_id': (str, none_type,), # noqa: E501 'currency': (Currency,), # noqa: E501 'currency_rate': (float, none_type,), # noqa: E501 'reference': (str, none_type,), # noqa: E501 'payment_method': (str, none_type,), # noqa: E501 'payment_method_reference': (str, none_type,), # noqa: E501 + 'payment_method_id': (str, none_type,), # noqa: E501 'accounts_receivable_account_type': (str, none_type,), # noqa: E501 'accounts_receivable_account_id': (str, none_type,), # noqa: E501 'account': (LinkedLedgerAccount,), # noqa: E501 @@ -144,15 +138,16 @@ def discriminator(): attribute_map = { + 'id': 'id', # noqa: E501 'total_amount': 'total_amount', # noqa: E501 'transaction_date': 'transaction_date', # noqa: E501 - 'id': 'id', # noqa: E501 'downstream_id': 'downstream_id', # noqa: E501 'currency': 'currency', # noqa: E501 'currency_rate': 'currency_rate', # noqa: E501 'reference': 'reference', # noqa: E501 'payment_method': 'payment_method', # noqa: E501 'payment_method_reference': 'payment_method_reference', # noqa: E501 + 'payment_method_id': 'payment_method_id', # noqa: E501 'accounts_receivable_account_type': 'accounts_receivable_account_type', # noqa: E501 'accounts_receivable_account_id': 'accounts_receivable_account_id', # noqa: E501 'account': 'account', # noqa: E501 @@ -184,10 +179,11 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, total_amount, transaction_date, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, total_amount, transaction_date, *args, **kwargs): # noqa: E501 """Payment - a model defined in OpenAPI Args: + id (str): Unique identifier representing the entity total_amount (float): Amount of payment transaction_date (datetime): Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD @@ -222,13 +218,13 @@ def _from_openapi_data(cls, total_amount, transaction_date, *args, **kwargs): # Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Unique identifier representing the entity. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 currency_rate (float, none_type): Currency Exchange Rate at the time entity was recorded/generated.. [optional] # noqa: E501 reference (str, none_type): Optional payment reference message ie: Debit remittance detail.. [optional] # noqa: E501 - payment_method (str, none_type): Payment method. [optional] # noqa: E501 + payment_method (str, none_type): Payment method name. [optional] # noqa: E501 payment_method_reference (str, none_type): Optional reference message returned by payment method on processing. [optional] # noqa: E501 + payment_method_id (str, none_type): Unique identifier for the payment method.. [optional] # noqa: E501 accounts_receivable_account_type (str, none_type): Type of accounts receivable account.. [optional] # noqa: E501 accounts_receivable_account_id (str, none_type): Unique identifier for the account to allocate payment to.. [optional] # noqa: E501 account (LinkedLedgerAccount): [optional] # noqa: E501 @@ -239,12 +235,12 @@ def _from_openapi_data(cls, total_amount, transaction_date, *args, **kwargs): # type (str): Type of payment. [optional] # noqa: E501 allocations ([PaymentAllocations]): [optional] # noqa: E501 note (str, none_type): Optional note to be associated with the payment.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 display_id (str, none_type): Payment id to be displayed.. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -272,6 +268,7 @@ def _from_openapi_data(cls, total_amount, transaction_date, *args, **kwargs): # self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.id = id self.total_amount = total_amount self.transaction_date = transaction_date for var_name, var_value in kwargs.items(): @@ -297,7 +294,6 @@ def _from_openapi_data(cls, total_amount, transaction_date, *args, **kwargs): # def __init__(self, total_amount, transaction_date, *args, **kwargs): # noqa: E501 """Payment - a model defined in OpenAPI - Args: total_amount (float): Amount of payment transaction_date (datetime): Date transaction was entered - YYYY:MM::DDThh:mm:ss.sTZD @@ -332,13 +328,13 @@ def __init__(self, total_amount, transaction_date, *args, **kwargs): # noqa: E5 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): Unique identifier representing the entity. [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 currency_rate (float, none_type): Currency Exchange Rate at the time entity was recorded/generated.. [optional] # noqa: E501 reference (str, none_type): Optional payment reference message ie: Debit remittance detail.. [optional] # noqa: E501 - payment_method (str, none_type): Payment method. [optional] # noqa: E501 + payment_method (str, none_type): Payment method name. [optional] # noqa: E501 payment_method_reference (str, none_type): Optional reference message returned by payment method on processing. [optional] # noqa: E501 + payment_method_id (str, none_type): Unique identifier for the payment method.. [optional] # noqa: E501 accounts_receivable_account_type (str, none_type): Type of accounts receivable account.. [optional] # noqa: E501 accounts_receivable_account_id (str, none_type): Unique identifier for the account to allocate payment to.. [optional] # noqa: E501 account (LinkedLedgerAccount): [optional] # noqa: E501 @@ -349,12 +345,12 @@ def __init__(self, total_amount, transaction_date, *args, **kwargs): # noqa: E5 type (str): Type of payment. [optional] # noqa: E501 allocations ([PaymentAllocations]): [optional] # noqa: E501 note (str, none_type): Optional note to be associated with the payment.. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 display_id (str, none_type): Payment id to be displayed.. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/payment_allocations.py b/src/apideck/model/payment_allocations.py index 183adae78..448fa6a93 100644 --- a/src/apideck/model/payment_allocations.py +++ b/src/apideck/model/payment_allocations.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/payment_card.py b/src/apideck/model/payment_card.py index 5d8b41526..f22f6c667 100644 --- a/src/apideck/model/payment_card.py +++ b/src/apideck/model/payment_card.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -198,7 +198,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 bin (str, none_type): The first six digits of the card number, known as the Bank Identification Number (BIN).. [optional] # noqa: E501 card_brand (str, none_type): The first six digits of the card number, known as the Bank Identification Number (BIN).. [optional] # noqa: E501 card_type (str, none_type): [optional] # noqa: E501 @@ -295,7 +295,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 bin (str, none_type): The first six digits of the card number, known as the Bank Identification Number (BIN).. [optional] # noqa: E501 card_brand (str, none_type): The first six digits of the card number, known as the Bank Identification Number (BIN).. [optional] # noqa: E501 card_type (str, none_type): [optional] # noqa: E501 diff --git a/src/apideck/model/payment_required_response.py b/src/apideck/model/payment_required_response.py index c80f5e5a7..ad245b819 100644 --- a/src/apideck/model/payment_required_response.py +++ b/src/apideck/model/payment_required_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/payment_unit.py b/src/apideck/model/payment_unit.py index 3feb447ea..8f1f14398 100644 --- a/src/apideck/model/payment_unit.py +++ b/src/apideck/model/payment_unit.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -108,10 +108,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str):, must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 + args[0] (str): Unit of measurement for employee compensation.., must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 Keyword Args: - value (str):, must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 + value (str): Unit of measurement for employee compensation.., must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -198,10 +198,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str):, must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 + args[0] (str): Unit of measurement for employee compensation.., must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 Keyword Args: - value (str):, must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 + value (str): Unit of measurement for employee compensation.., must be one of ["hour", "week", "month", "year", "paycheck", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/src/apideck/model/payroll.py b/src/apideck/model/payroll.py index 754bece0e..3b4bd6f99 100644 --- a/src/apideck/model/payroll.py +++ b/src/apideck/model/payroll.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -142,7 +142,7 @@ def _from_openapi_data(cls, id, processed, check_date, start_date, end_date, *ar """Payroll - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. processed (bool): Whether or not the payroll has been successfully processed. Note that processed payrolls cannot be updated. check_date (str): The date on which employees will be paid for the payroll. start_date (str): The start date, inclusive, of the pay period. @@ -179,7 +179,7 @@ def _from_openapi_data(cls, id, processed, check_date, start_date, end_date, *ar Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - company_id (str, none_type): [optional] # noqa: E501 + company_id (str, none_type): The unique identifier of the company.. [optional] # noqa: E501 processed_date (str, none_type): The date the payroll was processed.. [optional] # noqa: E501 totals (PayrollTotals): [optional] # noqa: E501 compensations ([Compensation]): An array of compensations for the payroll.. [optional] # noqa: E501 @@ -274,7 +274,7 @@ def __init__(self, processed, check_date, start_date, end_date, *args, **kwargs) Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - company_id (str, none_type): [optional] # noqa: E501 + company_id (str, none_type): The unique identifier of the company.. [optional] # noqa: E501 processed_date (str, none_type): The date the payroll was processed.. [optional] # noqa: E501 totals (PayrollTotals): [optional] # noqa: E501 compensations ([Compensation]): An array of compensations for the payroll.. [optional] # noqa: E501 diff --git a/src/apideck/model/payroll_totals.py b/src/apideck/model/payroll_totals.py index 37fed7c00..95310ed22 100644 --- a/src/apideck/model/payroll_totals.py +++ b/src/apideck/model/payroll_totals.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/payrolls_filter.py b/src/apideck/model/payrolls_filter.py index 26b4606d3..3cf917b1e 100644 --- a/src/apideck/model/payrolls_filter.py +++ b/src/apideck/model/payrolls_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/employee_partner.py b/src/apideck/model/person.py similarity index 93% rename from src/apideck/model/employee_partner.py rename to src/apideck/model/person.py index 65cedf086..15f1404a1 100644 --- a/src/apideck/model/employee_partner.py +++ b/src/apideck/model/person.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -34,7 +34,7 @@ def lazy_import(): globals()['Gender'] = Gender -class EmployeePartner(ModelNormal): +class Person(ModelNormal): """NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech @@ -122,7 +122,7 @@ def discriminator(): @classmethod @convert_js_args_to_python_args def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 - """EmployeePartner - a model defined in OpenAPI + """Person - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -155,10 +155,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 gender (Gender): [optional] # noqa: E501 initials (str, none_type): [optional] # noqa: E501 birthday (date, none_type): [optional] # noqa: E501 @@ -211,7 +211,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 @convert_js_args_to_python_args def __init__(self, *args, **kwargs): # noqa: E501 - """EmployeePartner - a model defined in OpenAPI + """Person - a model defined in OpenAPI Keyword Args: _check_type (bool): if True, values for parameters in openapi_types @@ -244,10 +244,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 gender (Gender): [optional] # noqa: E501 initials (str, none_type): [optional] # noqa: E501 birthday (date, none_type): [optional] # noqa: E501 diff --git a/src/apideck/model/phone_number.py b/src/apideck/model/phone_number.py index ff40ea826..681c0afea 100644 --- a/src/apideck/model/phone_number.py +++ b/src/apideck/model/phone_number.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/pipeline.py b/src/apideck/model/pipeline.py index 69b965e74..2964aba6f 100644 --- a/src/apideck/model/pipeline.py +++ b/src/apideck/model/pipeline.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -168,8 +168,8 @@ def _from_openapi_data(cls, name, *args, **kwargs): # noqa: E501 display_order (int): [optional] # noqa: E501 win_probability_enabled (bool): [optional] # noqa: E501 stages ([PipelineStages]): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -262,8 +262,8 @@ def __init__(self, name, *args, **kwargs): # noqa: E501 display_order (int): [optional] # noqa: E501 win_probability_enabled (bool): [optional] # noqa: E501 stages ([PipelineStages]): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/pipeline_stages.py b/src/apideck/model/pipeline_stages.py index d8aac5fba..839baa4ad 100644 --- a/src/apideck/model/pipeline_stages.py +++ b/src/apideck/model/pipeline_stages.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/pos_bank_account.py b/src/apideck/model/pos_bank_account.py index a145c6e73..093c8c5c2 100644 --- a/src/apideck/model/pos_bank_account.py +++ b/src/apideck/model/pos_bank_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -175,7 +175,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 transfer_type (str): The type of the bank transfer. The type can be `ACH` or `UNKNOWN`.. [optional] # noqa: E501 account_ownership_type (str): The ownership type of the bank account performing the transfer. The type can be `INDIVIDUAL`, `COMPANY`, or `UNKNOWN`.. [optional] # noqa: E501 fingerprint (str): Uniquely identifies the bank account for this seller and can be used to determine if payments are from the same bank account.. [optional] # noqa: E501 - country (str, none_type): country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 + country (str, none_type): Country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 statement_description (str): The statement description as sent to the bank.. [optional] # noqa: E501 ach_details (PosBankAccountAchDetails): [optional] # noqa: E501 """ @@ -263,7 +263,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 transfer_type (str): The type of the bank transfer. The type can be `ACH` or `UNKNOWN`.. [optional] # noqa: E501 account_ownership_type (str): The ownership type of the bank account performing the transfer. The type can be `INDIVIDUAL`, `COMPANY`, or `UNKNOWN`.. [optional] # noqa: E501 fingerprint (str): Uniquely identifies the bank account for this seller and can be used to determine if payments are from the same bank account.. [optional] # noqa: E501 - country (str, none_type): country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 + country (str, none_type): Country code according to ISO 3166-1 alpha-2.. [optional] # noqa: E501 statement_description (str): The statement description as sent to the bank.. [optional] # noqa: E501 ach_details (PosBankAccountAchDetails): [optional] # noqa: E501 """ diff --git a/src/apideck/model/pos_bank_account_ach_details.py b/src/apideck/model/pos_bank_account_ach_details.py index 5361550da..bdda0a713 100644 --- a/src/apideck/model/pos_bank_account_ach_details.py +++ b/src/apideck/model/pos_bank_account_ach_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/pos_payment.py b/src/apideck/model/pos_payment.py index 73b1e8ec7..1db10ff3e 100644 --- a/src/apideck/model/pos_payment.py +++ b/src/apideck/model/pos_payment.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -241,7 +241,7 @@ def _from_openapi_data(cls, source_id, order_id, customer_id, tender_id, amount, Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 merchant_id (str): [optional] # noqa: E501 employee_id (str): [optional] # noqa: E501 location_id (str): [optional] # noqa: E501 @@ -264,10 +264,10 @@ def _from_openapi_data(cls, source_id, order_id, customer_id, tender_id, amount, wallet (WalletDetails): [optional] # noqa: E501 external_details (PosPaymentExternalDetails): [optional] # noqa: E501 service_charges (ServiceCharges): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -363,7 +363,7 @@ def __init__(self, source_id, order_id, customer_id, tender_id, amount, currency Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 merchant_id (str): [optional] # noqa: E501 employee_id (str): [optional] # noqa: E501 location_id (str): [optional] # noqa: E501 @@ -386,10 +386,10 @@ def __init__(self, source_id, order_id, customer_id, tender_id, amount, currency wallet (WalletDetails): [optional] # noqa: E501 external_details (PosPaymentExternalDetails): [optional] # noqa: E501 service_charges (ServiceCharges): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/pos_payment_card_details.py b/src/apideck/model/pos_payment_card_details.py index 4b997ef85..4909f4968 100644 --- a/src/apideck/model/pos_payment_card_details.py +++ b/src/apideck/model/pos_payment_card_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/pos_payment_external_details.py b/src/apideck/model/pos_payment_external_details.py index 9c426a4a1..08b6eba57 100644 --- a/src/apideck/model/pos_payment_external_details.py +++ b/src/apideck/model/pos_payment_external_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/price.py b/src/apideck/model/price.py index 3f0f9e2d0..3ed87b1c3 100644 --- a/src/apideck/model/price.py +++ b/src/apideck/model/price.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss.py b/src/apideck/model/profit_and_loss.py index 9327254c7..854a9f956 100644 --- a/src/apideck/model/profit_and_loss.py +++ b/src/apideck/model/profit_and_loss.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -178,7 +178,7 @@ def _from_openapi_data(cls, report_name, currency, income, expenses, *args, **kw Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 start_date (str): The start date of the report. [optional] # noqa: E501 end_date (str): The start date of the report. [optional] # noqa: E501 customer_id (str): Customer id. [optional] # noqa: E501 @@ -276,7 +276,7 @@ def __init__(self, report_name, currency, income, expenses, *args, **kwargs): # Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 start_date (str): The start date of the report. [optional] # noqa: E501 end_date (str): The start date of the report. [optional] # noqa: E501 customer_id (str): Customer id. [optional] # noqa: E501 diff --git a/src/apideck/model/profit_and_loss_expenses.py b/src/apideck/model/profit_and_loss_expenses.py index d1008a16a..e50b5a8c6 100644 --- a/src/apideck/model/profit_and_loss_expenses.py +++ b/src/apideck/model/profit_and_loss_expenses.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_filter.py b/src/apideck/model/profit_and_loss_filter.py index b19b66720..25a37b453 100644 --- a/src/apideck/model/profit_and_loss_filter.py +++ b/src/apideck/model/profit_and_loss_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_gross_profit.py b/src/apideck/model/profit_and_loss_gross_profit.py index 6eb387c8e..fe9c145a7 100644 --- a/src/apideck/model/profit_and_loss_gross_profit.py +++ b/src/apideck/model/profit_and_loss_gross_profit.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_income.py b/src/apideck/model/profit_and_loss_income.py index dc8b9073d..1961ea26c 100644 --- a/src/apideck/model/profit_and_loss_income.py +++ b/src/apideck/model/profit_and_loss_income.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_net_income.py b/src/apideck/model/profit_and_loss_net_income.py index 6b4d0d5b2..c81676b47 100644 --- a/src/apideck/model/profit_and_loss_net_income.py +++ b/src/apideck/model/profit_and_loss_net_income.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_net_operating_income.py b/src/apideck/model/profit_and_loss_net_operating_income.py index 6187630fa..3e20b9f5c 100644 --- a/src/apideck/model/profit_and_loss_net_operating_income.py +++ b/src/apideck/model/profit_and_loss_net_operating_income.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_record.py b/src/apideck/model/profit_and_loss_record.py index 4a9c15b47..0cd54c089 100644 --- a/src/apideck/model/profit_and_loss_record.py +++ b/src/apideck/model/profit_and_loss_record.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_records.py b/src/apideck/model/profit_and_loss_records.py index db625f3db..45667c84a 100644 --- a/src/apideck/model/profit_and_loss_records.py +++ b/src/apideck/model/profit_and_loss_records.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/profit_and_loss_section.py b/src/apideck/model/profit_and_loss_section.py index 2a08ed3b8..a6216b57e 100644 --- a/src/apideck/model/profit_and_loss_section.py +++ b/src/apideck/model/profit_and_loss_section.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/request_count_allocation.py b/src/apideck/model/request_count_allocation.py index df3ef1ba6..0cc50c404 100644 --- a/src/apideck/model/request_count_allocation.py +++ b/src/apideck/model/request_count_allocation.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/request_rate.py b/src/apideck/model/request_rate.py index 5a8a5bce1..f143a70e0 100644 --- a/src/apideck/model/request_rate.py +++ b/src/apideck/model/request_rate.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/resolve_webhook_event_request.py b/src/apideck/model/resolve_webhook_event_request.py index e205faf62..11ca997b0 100644 --- a/src/apideck/model/resolve_webhook_event_request.py +++ b/src/apideck/model/resolve_webhook_event_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/resolve_webhook_events_request.py b/src/apideck/model/resolve_webhook_events_request.py index 2ddb9fd59..cec3d3503 100644 --- a/src/apideck/model/resolve_webhook_events_request.py +++ b/src/apideck/model/resolve_webhook_events_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/resolve_webhook_response.py b/src/apideck/model/resolve_webhook_response.py index 1945871b7..bf12b2710 100644 --- a/src/apideck/model/resolve_webhook_response.py +++ b/src/apideck/model/resolve_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/resource_status.py b/src/apideck/model/resource_status.py index 24c77af42..350dd0328 100644 --- a/src/apideck/model/resource_status.py +++ b/src/apideck/model/resource_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/schedule.py b/src/apideck/model/schedule.py index 681ff0cd9..ac90e5276 100644 --- a/src/apideck/model/schedule.py +++ b/src/apideck/model/schedule.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -120,7 +120,7 @@ def _from_openapi_data(cls, id, start_date, end_date, work_pattern, *args, **kwa """Schedule - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. start_date (str): The start date, inclusive, of the schedule period. end_date (str): The end date, inclusive, of the schedule period. work_pattern (ScheduleWorkPattern): diff --git a/src/apideck/model/schedule_work_pattern.py b/src/apideck/model/schedule_work_pattern.py index cfc6608b4..4875030c2 100644 --- a/src/apideck/model/schedule_work_pattern.py +++ b/src/apideck/model/schedule_work_pattern.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/schedule_work_pattern_odd_weeks.py b/src/apideck/model/schedule_work_pattern_odd_weeks.py index 47aefe2a2..47863a6b7 100644 --- a/src/apideck/model/schedule_work_pattern_odd_weeks.py +++ b/src/apideck/model/schedule_work_pattern_odd_weeks.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/service_charge.py b/src/apideck/model/service_charge.py index bdcb330e2..bd5ad40dd 100644 --- a/src/apideck/model/service_charge.py +++ b/src/apideck/model/service_charge.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -157,7 +157,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): Service charge name. [optional] # noqa: E501 amount (float): [optional] # noqa: E501 percentage (float): Service charge percentage. Use this field to calculate the amount of the service charge. Pass a percentage and amount at the same time.. [optional] # noqa: E501 @@ -245,7 +245,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): Service charge name. [optional] # noqa: E501 amount (float): [optional] # noqa: E501 percentage (float): Service charge percentage. Use this field to calculate the amount of the service charge. Pass a percentage and amount at the same time.. [optional] # noqa: E501 diff --git a/src/apideck/model/service_charges.py b/src/apideck/model/service_charges.py index 5d846a1cd..92b325023 100644 --- a/src/apideck/model/service_charges.py +++ b/src/apideck/model/service_charges.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/session.py b/src/apideck/model/session.py index 382958ad4..8b3540091 100644 --- a/src/apideck/model/session.py +++ b/src/apideck/model/session.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -85,10 +85,10 @@ def openapi_types(): lazy_import() return { 'consumer_metadata': (ConsumerMetadata,), # noqa: E501 - 'custom_consumer_settings': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 'redirect_uri': (str,), # noqa: E501 'settings': (SessionSettings,), # noqa: E501 'theme': (SessionTheme,), # noqa: E501 + 'custom_consumer_settings': ({str: (bool, date, datetime, dict, float, int, list, str, none_type)},), # noqa: E501 } @cached_property @@ -98,10 +98,10 @@ def discriminator(): attribute_map = { 'consumer_metadata': 'consumer_metadata', # noqa: E501 - 'custom_consumer_settings': 'custom_consumer_settings', # noqa: E501 'redirect_uri': 'redirect_uri', # noqa: E501 'settings': 'settings', # noqa: E501 'theme': 'theme', # noqa: E501 + 'custom_consumer_settings': 'custom_consumer_settings', # noqa: E501 } read_only_vars = { @@ -146,10 +146,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) consumer_metadata (ConsumerMetadata): [optional] # noqa: E501 - custom_consumer_settings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Custom consumer settings that are passed as part of the session.. [optional] # noqa: E501 - redirect_uri (str): [optional] # noqa: E501 + redirect_uri (str): The URL to redirect the user to after the session has been configured.. [optional] # noqa: E501 settings (SessionSettings): [optional] # noqa: E501 theme (SessionTheme): [optional] # noqa: E501 + custom_consumer_settings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Custom consumer settings that are passed as part of the session.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -232,10 +232,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 through its discriminator because we passed in _visited_composed_classes = (Animal,) consumer_metadata (ConsumerMetadata): [optional] # noqa: E501 - custom_consumer_settings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Custom consumer settings that are passed as part of the session.. [optional] # noqa: E501 - redirect_uri (str): [optional] # noqa: E501 + redirect_uri (str): The URL to redirect the user to after the session has been configured.. [optional] # noqa: E501 settings (SessionSettings): [optional] # noqa: E501 theme (SessionTheme): [optional] # noqa: E501 + custom_consumer_settings ({str: (bool, date, datetime, dict, float, int, list, str, none_type)}): Custom consumer settings that are passed as part of the session.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/session_settings.py b/src/apideck/model/session_settings.py index 86deafc5a..633ae929d 100644 --- a/src/apideck/model/session_settings.py +++ b/src/apideck/model/session_settings.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -59,6 +59,12 @@ class SessionSettings(ModelNormal): """ allowed_values = { + ('allow_actions',): { + 'DELETE': "delete", + 'DISCONNECT': "disconnect", + 'REAUTHORIZE': "reauthorize", + 'DISABLE': "disable", + }, } validations = { @@ -96,6 +102,8 @@ def openapi_types(): 'show_suggestions': (bool,), # noqa: E501 'show_sidebar': (bool,), # noqa: E501 'auto_redirect': (bool,), # noqa: E501 + 'hide_guides': (bool,), # noqa: E501 + 'allow_actions': ([str],), # noqa: E501 } @cached_property @@ -113,6 +121,8 @@ def discriminator(): 'show_suggestions': 'show_suggestions', # noqa: E501 'show_sidebar': 'show_sidebar', # noqa: E501 'auto_redirect': 'auto_redirect', # noqa: E501 + 'hide_guides': 'hide_guides', # noqa: E501 + 'allow_actions': 'allow_actions', # noqa: E501 } read_only_vars = { @@ -165,6 +175,8 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 show_suggestions (bool): Configure [Vault](/apis/vault/reference#section/Get-Started) to show the suggestions page. Defaults to `false`.. [optional] if omitted the server will use the default value of False # noqa: E501 show_sidebar (bool): Configure [Vault](/apis/vault/reference#section/Get-Started) to show the sidebar. Defaults to `true`.. [optional] if omitted the server will use the default value of True # noqa: E501 auto_redirect (bool): Automatically redirect to redirect uri after the connection has been configured as callable. Defaults to `false`.. [optional] if omitted the server will use the default value of False # noqa: E501 + hide_guides (bool): Hide Apideck connection guides in [Vault](/apis/vault/reference#section/Get-Started). Defaults to `false`.. [optional] if omitted the server will use the default value of False # noqa: E501 + allow_actions ([str]): Hide actions from your users in [Vault](/apis/vault/reference#section/Get-Started). Actions in `allow_actions` will be shown on a connection in Vault. Available actions are: `delete`, `disconnect`, `reauthorize` and `disable`. Empty array will hide all actions. By default all actions are visible.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -255,6 +267,8 @@ def __init__(self, *args, **kwargs): # noqa: E501 show_suggestions (bool): Configure [Vault](/apis/vault/reference#section/Get-Started) to show the suggestions page. Defaults to `false`.. [optional] if omitted the server will use the default value of False # noqa: E501 show_sidebar (bool): Configure [Vault](/apis/vault/reference#section/Get-Started) to show the sidebar. Defaults to `true`.. [optional] if omitted the server will use the default value of True # noqa: E501 auto_redirect (bool): Automatically redirect to redirect uri after the connection has been configured as callable. Defaults to `false`.. [optional] if omitted the server will use the default value of False # noqa: E501 + hide_guides (bool): Hide Apideck connection guides in [Vault](/apis/vault/reference#section/Get-Started). Defaults to `false`.. [optional] if omitted the server will use the default value of False # noqa: E501 + allow_actions ([str]): Hide actions from your users in [Vault](/apis/vault/reference#section/Get-Started). Actions in `allow_actions` will be shown on a connection in Vault. Available actions are: `delete`, `disconnect`, `reauthorize` and `disable`. Empty array will hide all actions. By default all actions are visible.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/session_theme.py b/src/apideck/model/session_theme.py index 1c5e3b767..6818832f5 100644 --- a/src/apideck/model/session_theme.py +++ b/src/apideck/model/session_theme.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -82,12 +82,13 @@ def openapi_types(): """ return { 'favicon': (str,), # noqa: E501 + 'logo': (str,), # noqa: E501 'primary_color': (str,), # noqa: E501 - 'privacy_url': (str,), # noqa: E501 'sidepanel_background_color': (str,), # noqa: E501 'sidepanel_text_color': (str,), # noqa: E501 - 'terms_url': (str,), # noqa: E501 'vault_name': (str,), # noqa: E501 + 'privacy_url': (str,), # noqa: E501 + 'terms_url': (str,), # noqa: E501 } @cached_property @@ -97,12 +98,13 @@ def discriminator(): attribute_map = { 'favicon': 'favicon', # noqa: E501 + 'logo': 'logo', # noqa: E501 'primary_color': 'primary_color', # noqa: E501 - 'privacy_url': 'privacy_url', # noqa: E501 'sidepanel_background_color': 'sidepanel_background_color', # noqa: E501 'sidepanel_text_color': 'sidepanel_text_color', # noqa: E501 - 'terms_url': 'terms_url', # noqa: E501 'vault_name': 'vault_name', # noqa: E501 + 'privacy_url': 'privacy_url', # noqa: E501 + 'terms_url': 'terms_url', # noqa: E501 } read_only_vars = { @@ -146,13 +148,14 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - favicon (str): [optional] # noqa: E501 - primary_color (str): [optional] # noqa: E501 - privacy_url (str): [optional] # noqa: E501 - sidepanel_background_color (str): [optional] # noqa: E501 - sidepanel_text_color (str): [optional] # noqa: E501 - terms_url (str): [optional] # noqa: E501 - vault_name (str): [optional] # noqa: E501 + favicon (str): The URL to the favicon to use for Vault.. [optional] # noqa: E501 + logo (str): The URL to the logo to use for Vault.. [optional] # noqa: E501 + primary_color (str): The primary color to use for Vault.. [optional] # noqa: E501 + sidepanel_background_color (str): The background color to use for the sidebar.. [optional] # noqa: E501 + sidepanel_text_color (str): The text color to use for the sidebar.. [optional] # noqa: E501 + vault_name (str): The name that will be shown in the sidebar.. [optional] # noqa: E501 + privacy_url (str): The URL to the privacy policy that will be shown in the sidebar.. [optional] # noqa: E501 + terms_url (str): The URL to the terms and conditions that will be shown in the sidebar.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -234,13 +237,14 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - favicon (str): [optional] # noqa: E501 - primary_color (str): [optional] # noqa: E501 - privacy_url (str): [optional] # noqa: E501 - sidepanel_background_color (str): [optional] # noqa: E501 - sidepanel_text_color (str): [optional] # noqa: E501 - terms_url (str): [optional] # noqa: E501 - vault_name (str): [optional] # noqa: E501 + favicon (str): The URL to the favicon to use for Vault.. [optional] # noqa: E501 + logo (str): The URL to the logo to use for Vault.. [optional] # noqa: E501 + primary_color (str): The primary color to use for Vault.. [optional] # noqa: E501 + sidepanel_background_color (str): The background color to use for the sidebar.. [optional] # noqa: E501 + sidepanel_text_color (str): The text color to use for the sidebar.. [optional] # noqa: E501 + vault_name (str): The name that will be shown in the sidebar.. [optional] # noqa: E501 + privacy_url (str): The URL to the privacy policy that will be shown in the sidebar.. [optional] # noqa: E501 + terms_url (str): The URL to the terms and conditions that will be shown in the sidebar.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/shared_link.py b/src/apideck/model/shared_link.py index f7adaab7e..a53e37d46 100644 --- a/src/apideck/model/shared_link.py +++ b/src/apideck/model/shared_link.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -170,8 +170,8 @@ def _from_openapi_data(cls, target_id, *args, **kwargs): # noqa: E501 password_protected (bool): Indicated if the shared link is password protected.. [optional] # noqa: E501 password (str, none_type): Optional password for the shared link.. [optional] # noqa: E501 expires_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -264,8 +264,8 @@ def __init__(self, target_id, *args, **kwargs): # noqa: E501 password_protected (bool): Indicated if the shared link is password protected.. [optional] # noqa: E501 password (str, none_type): Optional password for the shared link.. [optional] # noqa: E501 expires_at (datetime): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/shared_link_target.py b/src/apideck/model/shared_link_target.py index 0bbcad704..5884aa244 100644 --- a/src/apideck/model/shared_link_target.py +++ b/src/apideck/model/shared_link_target.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -108,7 +108,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 """SharedLinkTarget - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/src/apideck/model/simple_form_field_option.py b/src/apideck/model/simple_form_field_option.py index f4fbcf763..cf208fff1 100644 --- a/src/apideck/model/simple_form_field_option.py +++ b/src/apideck/model/simple_form_field_option.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/social_link.py b/src/apideck/model/social_link.py index 9fc2ad180..96b33caf2 100644 --- a/src/apideck/model/social_link.py +++ b/src/apideck/model/social_link.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/sort_direction.py b/src/apideck/model/sort_direction.py index 201122c26..bd7ab9d8e 100644 --- a/src/apideck/model/sort_direction.py +++ b/src/apideck/model/sort_direction.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/status.py b/src/apideck/model/status.py index 1890c465f..49fbb5a38 100644 --- a/src/apideck/model/status.py +++ b/src/apideck/model/status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/supplier.py b/src/apideck/model/supplier.py index 36ab061e3..efa929d68 100644 --- a/src/apideck/model/supplier.py +++ b/src/apideck/model/supplier.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -86,14 +86,7 @@ class Supplier(ModelNormal): validations = { } - @cached_property - def additional_properties_type(): - """ - This must be a method because a model may have properties that are - of type self, this must run after the class is loaded - """ - lazy_import() - return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + additional_properties_type = None _nullable = False @@ -111,19 +104,21 @@ def openapi_types(): return { 'id': (str,), # noqa: E501 'downstream_id': (str, none_type,), # noqa: E501 - 'company_name': (str, none_type,), # noqa: E501 + 'display_id': (str, none_type,), # noqa: E501 'display_name': (str, none_type,), # noqa: E501 + 'company_name': (str, none_type,), # noqa: E501 'title': (str, none_type,), # noqa: E501 'first_name': (str, none_type,), # noqa: E501 'middle_name': (str, none_type,), # noqa: E501 'last_name': (str, none_type,), # noqa: E501 'suffix': (str, none_type,), # noqa: E501 + 'individual': (bool, none_type,), # noqa: E501 'addresses': ([Address],), # noqa: E501 - 'notes': (str, none_type,), # noqa: E501 'phone_numbers': ([PhoneNumber],), # noqa: E501 'emails': ([Email],), # noqa: E501 'websites': ([Website],), # noqa: E501 'bank_accounts': ([BankAccount],), # noqa: E501 + 'notes': (str, none_type,), # noqa: E501 'tax_rate': (LinkedTaxRate,), # noqa: E501 'tax_number': (str, none_type,), # noqa: E501 'currency': (Currency,), # noqa: E501 @@ -144,19 +139,21 @@ def discriminator(): attribute_map = { 'id': 'id', # noqa: E501 'downstream_id': 'downstream_id', # noqa: E501 - 'company_name': 'company_name', # noqa: E501 + 'display_id': 'display_id', # noqa: E501 'display_name': 'display_name', # noqa: E501 + 'company_name': 'company_name', # noqa: E501 'title': 'title', # noqa: E501 'first_name': 'first_name', # noqa: E501 'middle_name': 'middle_name', # noqa: E501 'last_name': 'last_name', # noqa: E501 'suffix': 'suffix', # noqa: E501 + 'individual': 'individual', # noqa: E501 'addresses': 'addresses', # noqa: E501 - 'notes': 'notes', # noqa: E501 'phone_numbers': 'phone_numbers', # noqa: E501 'emails': 'emails', # noqa: E501 'websites': 'websites', # noqa: E501 'bank_accounts': 'bank_accounts', # noqa: E501 + 'notes': 'notes', # noqa: E501 'tax_rate': 'tax_rate', # noqa: E501 'tax_number': 'tax_number', # noqa: E501 'currency': 'currency', # noqa: E501 @@ -182,9 +179,12 @@ def discriminator(): @classmethod @convert_js_args_to_python_args - def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 """Supplier - a model defined in OpenAPI + Args: + id (str): A unique identifier for an object. + Keyword Args: _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be @@ -216,31 +216,32 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - display_name (str, none_type): Display name of supplier.. [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + display_id (str, none_type): Display ID. [optional] # noqa: E501 + display_name (str, none_type): Display name. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 suffix (str, none_type): [optional] # noqa: E501 + individual (bool, none_type): Is this an individual or business supplier. [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 - notes (str, none_type): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 websites ([Website]): [optional] # noqa: E501 bank_accounts ([BankAccount]): [optional] # noqa: E501 + notes (str, none_type): Some notes about this supplier. [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 tax_number (str, none_type): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 account (LinkedLedgerAccount): [optional] # noqa: E501 - status (str, none_type): Customer status. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + status (str, none_type): Supplier status. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -268,6 +269,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 self._configuration = _configuration self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + self.id = id for var_name, var_value in kwargs.items(): if var_name not in self.attribute_map and \ self._configuration is not None and \ @@ -322,31 +324,32 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 downstream_id (str, none_type): The third-party API ID of original entity. [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 - display_name (str, none_type): Display name of supplier.. [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - middle_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 + display_id (str, none_type): Display ID. [optional] # noqa: E501 + display_name (str, none_type): Display name. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + middle_name (str, none_type): Middle name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 suffix (str, none_type): [optional] # noqa: E501 + individual (bool, none_type): Is this an individual or business supplier. [optional] # noqa: E501 addresses ([Address]): [optional] # noqa: E501 - notes (str, none_type): [optional] # noqa: E501 phone_numbers ([PhoneNumber]): [optional] # noqa: E501 emails ([Email]): [optional] # noqa: E501 websites ([Website]): [optional] # noqa: E501 bank_accounts ([BankAccount]): [optional] # noqa: E501 + notes (str, none_type): Some notes about this supplier. [optional] # noqa: E501 tax_rate (LinkedTaxRate): [optional] # noqa: E501 tax_number (str, none_type): [optional] # noqa: E501 currency (Currency): [optional] # noqa: E501 account (LinkedLedgerAccount): [optional] # noqa: E501 - status (str, none_type): Customer status. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 + status (str, none_type): Supplier status. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/suppliers_filter.py b/src/apideck/model/suppliers_filter.py new file mode 100644 index 000000000..01c5846e9 --- /dev/null +++ b/src/apideck/model/suppliers_filter.py @@ -0,0 +1,253 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class SuppliersFilter(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'company_name': (str,), # noqa: E501 + 'email': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'company_name': 'company_name', # noqa: E501 + 'email': 'email', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """SuppliersFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + company_name (str): Company Name of supplier to search for. [optional] # noqa: E501 + email (str): Email of supplier to search for. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """SuppliersFilter - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + company_name (str): Company Name of supplier to search for. [optional] # noqa: E501 + email (str): Email of supplier to search for. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/supported_property.py b/src/apideck/model/supported_property.py index a72a496a1..9ddb97f9b 100644 --- a/src/apideck/model/supported_property.py +++ b/src/apideck/model/supported_property.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/supported_property_child_properties.py b/src/apideck/model/supported_property_child_properties.py index 80245a038..42427e11b 100644 --- a/src/apideck/model/supported_property_child_properties.py +++ b/src/apideck/model/supported_property_child_properties.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/tags.py b/src/apideck/model/tags.py index ef75b30d1..0abee45e9 100644 --- a/src/apideck/model/tags.py +++ b/src/apideck/model/tags.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/tax.py b/src/apideck/model/tax.py index 641bf4760..5cf3aded9 100644 --- a/src/apideck/model/tax.py +++ b/src/apideck/model/tax.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/tax_rate.py b/src/apideck/model/tax_rate.py index a8f02470c..5b5efbbd8 100644 --- a/src/apideck/model/tax_rate.py +++ b/src/apideck/model/tax_rate.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -188,11 +188,11 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 report_tax_type (str, none_type): Report Tax type to aggregate tax collected or paid for reporting purposes. [optional] # noqa: E501 original_tax_rate_id (str, none_type): ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities.. [optional] # noqa: E501 status (str, none_type): Tax rate status. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -287,11 +287,11 @@ def __init__(self, *args, **kwargs): # noqa: E501 report_tax_type (str, none_type): Report Tax type to aggregate tax collected or paid for reporting purposes. [optional] # noqa: E501 original_tax_rate_id (str, none_type): ID of the original tax rate from which the new tax rate is derived. Helps to understand the relationship between corresponding tax rate entities.. [optional] # noqa: E501 status (str, none_type): Tax rate status. [optional] # noqa: E501 - row_version (str, none_type): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + row_version (str, none_type): A binary value used to detect updates to a object and prevent data conflicts. It is incremented each time an update is made to the object.. [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/tax_rates_filter.py b/src/apideck/model/tax_rates_filter.py index 38047176e..da9d0d6ea 100644 --- a/src/apideck/model/tax_rates_filter.py +++ b/src/apideck/model/tax_rates_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/tender.py b/src/apideck/model/tender.py index ad7a3ac12..fc6039459 100644 --- a/src/apideck/model/tender.py +++ b/src/apideck/model/tender.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -155,7 +155,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 key (str, none_type): [optional] # noqa: E501 label (str, none_type): [optional] # noqa: E501 active (bool, none_type): [optional] # noqa: E501 @@ -163,10 +163,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 editable (bool, none_type): [optional] # noqa: E501 opens_cash_drawer (bool): If this tender opens the cash drawer. [optional] if omitted the server will use the default value of True # noqa: E501 allows_tipping (bool): Allow tipping on payment from tender. [optional] if omitted the server will use the default value of True # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -248,7 +248,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 key (str, none_type): [optional] # noqa: E501 label (str, none_type): [optional] # noqa: E501 active (bool, none_type): [optional] # noqa: E501 @@ -256,10 +256,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 editable (bool, none_type): [optional] # noqa: E501 opens_cash_drawer (bool): If this tender opens the cash drawer. [optional] if omitted the server will use the default value of True # noqa: E501 allows_tipping (bool): Allow tipping on payment from tender. [optional] if omitted the server will use the default value of True # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/ticket.py b/src/apideck/model/ticket.py new file mode 100644 index 000000000..aed687f00 --- /dev/null +++ b/src/apideck/model/ticket.py @@ -0,0 +1,326 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.assignee import Assignee + from apideck.model.collection_tag import CollectionTag + globals()['Assignee'] = Assignee + globals()['CollectionTag'] = CollectionTag + + +class Ticket(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('priority',): { + 'LOW': "low", + 'NORMAL': "normal", + 'HIGH': "high", + 'URGENT': "urgent", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'id': (str,), # noqa: E501 + 'parent_id': (str,), # noqa: E501 + 'collection_id': (str,), # noqa: E501 + 'type': (str,), # noqa: E501 + 'subject': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'status': (str, none_type,), # noqa: E501 + 'priority': (str,), # noqa: E501 + 'assignees': ([Assignee],), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + 'created_at': (datetime,), # noqa: E501 + 'created_by': (str, none_type,), # noqa: E501 + 'due_date': (datetime, none_type,), # noqa: E501 + 'completed_at': (datetime, none_type,), # noqa: E501 + 'tags': ([CollectionTag],), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'id': 'id', # noqa: E501 + 'parent_id': 'parent_id', # noqa: E501 + 'collection_id': 'collection_id', # noqa: E501 + 'type': 'type', # noqa: E501 + 'subject': 'subject', # noqa: E501 + 'description': 'description', # noqa: E501 + 'status': 'status', # noqa: E501 + 'priority': 'priority', # noqa: E501 + 'assignees': 'assignees', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + 'created_at': 'created_at', # noqa: E501 + 'created_by': 'created_by', # noqa: E501 + 'due_date': 'due_date', # noqa: E501 + 'completed_at': 'completed_at', # noqa: E501 + 'tags': 'tags', # noqa: E501 + } + + read_only_vars = { + 'id', # noqa: E501 + 'collection_id', # noqa: E501 + 'updated_at', # noqa: E501 + 'created_at', # noqa: E501 + 'created_by', # noqa: E501 + 'completed_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 + """Ticket - a model defined in OpenAPI + + Args: + id (str): A unique identifier for an object. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + parent_id (str): The ticket's parent ID. [optional] # noqa: E501 + collection_id (str): The ticket's collection ID. [optional] # noqa: E501 + type (str): The ticket's type. [optional] # noqa: E501 + subject (str): Subject of the ticket. [optional] # noqa: E501 + description (str): The ticket's description. HTML version of description is mapped if supported by the third-party platform. [optional] # noqa: E501 + status (str, none_type): The current status of the ticket. Possible values include: open, in_progress, closed, or - in cases where there is no clear mapping - the original value passed through.. [optional] # noqa: E501 + priority (str): Priority of the ticket. [optional] # noqa: E501 + assignees ([Assignee]): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + due_date (datetime, none_type): Due date of the ticket. [optional] # noqa: E501 + completed_at (datetime, none_type): When the ticket was completed. [optional] # noqa: E501 + tags ([CollectionTag]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.id = id + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """Ticket - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + parent_id (str): The ticket's parent ID. [optional] # noqa: E501 + collection_id (str): The ticket's collection ID. [optional] # noqa: E501 + type (str): The ticket's type. [optional] # noqa: E501 + subject (str): Subject of the ticket. [optional] # noqa: E501 + description (str): The ticket's description. HTML version of description is mapped if supported by the third-party platform. [optional] # noqa: E501 + status (str, none_type): The current status of the ticket. Possible values include: open, in_progress, closed, or - in cases where there is no clear mapping - the original value passed through.. [optional] # noqa: E501 + priority (str): Priority of the ticket. [optional] # noqa: E501 + assignees ([Assignee]): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + due_date (datetime, none_type): Due date of the ticket. [optional] # noqa: E501 + completed_at (datetime, none_type): When the ticket was completed. [optional] # noqa: E501 + tags ([CollectionTag]): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/tickets_sort.py b/src/apideck/model/tickets_sort.py new file mode 100644 index 000000000..5279bc73e --- /dev/null +++ b/src/apideck/model/tickets_sort.py @@ -0,0 +1,262 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.sort_direction import SortDirection + globals()['SortDirection'] = SortDirection + + +class TicketsSort(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + ('by',): { + 'CREATED_AT': "created_at", + 'UPDATED_AT': "updated_at", + }, + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'by': (str,), # noqa: E501 + 'direction': (SortDirection,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'by': 'by', # noqa: E501 + 'direction': 'direction', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """TicketsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Tickets. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """TicketsSort - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + by (str): The field on which to sort the Tickets. [optional] # noqa: E501 + direction (SortDirection): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/time_off_request.py b/src/apideck/model/time_off_request.py index 06d5a9c4e..6fa968123 100644 --- a/src/apideck/model/time_off_request.py +++ b/src/apideck/model/time_off_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -212,7 +212,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 employee_id (str): ID of the employee. [optional] # noqa: E501 policy_id (str): ID of the policy. [optional] # noqa: E501 status (str): The status of the time off request.. [optional] # noqa: E501 @@ -225,10 +225,10 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 units (str): The unit of time off requested. Possible values include: `hours`, `days`, or `other`.. [optional] # noqa: E501 amount (float): The amount of time off requested.. [optional] # noqa: E501 notes (TimeOffRequestNotes): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -310,7 +310,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 employee_id (str): ID of the employee. [optional] # noqa: E501 policy_id (str): ID of the policy. [optional] # noqa: E501 status (str): The status of the time off request.. [optional] # noqa: E501 @@ -323,10 +323,10 @@ def __init__(self, *args, **kwargs): # noqa: E501 units (str): The unit of time off requested. Possible values include: `hours`, `days`, or `other`.. [optional] # noqa: E501 amount (float): The amount of time off requested.. [optional] # noqa: E501 notes (TimeOffRequestNotes): [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/time_off_request_notes.py b/src/apideck/model/time_off_request_notes.py index c4f639a08..c777ea46b 100644 --- a/src/apideck/model/time_off_request_notes.py +++ b/src/apideck/model/time_off_request_notes.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/time_off_requests_filter.py b/src/apideck/model/time_off_requests_filter.py index dcb4c4fc5..3671e5f3d 100644 --- a/src/apideck/model/time_off_requests_filter.py +++ b/src/apideck/model/time_off_requests_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/too_many_requests_response.py b/src/apideck/model/too_many_requests_response.py index 0274c381d..c14bb5966 100644 --- a/src/apideck/model/too_many_requests_response.py +++ b/src/apideck/model/too_many_requests_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/too_many_requests_response_detail.py b/src/apideck/model/too_many_requests_response_detail.py index 9d1693d6f..f4be72b83 100644 --- a/src/apideck/model/too_many_requests_response_detail.py +++ b/src/apideck/model/too_many_requests_response_detail.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/tracking_item.py b/src/apideck/model/tracking_item.py new file mode 100644 index 000000000..37fa07bea --- /dev/null +++ b/src/apideck/model/tracking_item.py @@ -0,0 +1,276 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class TrackingItem(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'provider': (str, none_type,), # noqa: E501 + 'number': (str, none_type,), # noqa: E501 + 'url': (str, none_type,), # noqa: E501 + 'updated_at': (datetime, none_type,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'provider': 'provider', # noqa: E501 + 'number': 'number', # noqa: E501 + 'url': 'url', # noqa: E501 + 'updated_at': 'updated_at', # noqa: E501 + } + + read_only_vars = { + 'updated_at', # noqa: E501 + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, provider, number, *args, **kwargs): # noqa: E501 + """TrackingItem - a model defined in OpenAPI + + Args: + provider (str, none_type): The name or code of the carrier or shipping company that is handling the shipment. + number (str, none_type): The tracking number associated with the shipment, which can be used to track the progress of the delivery. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + url (str, none_type): The URL of the carrier's tracking page, which can be used to view detailed information about the shipment's progress.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.provider = provider + self.number = number + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, provider, number, *args, **kwargs): # noqa: E501 + """TrackingItem - a model defined in OpenAPI + + Args: + provider (str, none_type): The name or code of the carrier or shipping company that is handling the shipment. + number (str, none_type): The tracking number associated with the shipment, which can be used to track the progress of the delivery. + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + url (str, none_type): The URL of the carrier's tracking page, which can be used to view detailed information about the shipment's progress.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.provider = provider + self.number = number + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/unauthorized_response.py b/src/apideck/model/unauthorized_response.py index fe0b78c23..8e37e11e9 100644 --- a/src/apideck/model/unauthorized_response.py +++ b/src/apideck/model/unauthorized_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/unexpected_error_response.py b/src/apideck/model/unexpected_error_response.py index 4a016b4d0..2c8c7298b 100644 --- a/src/apideck/model/unexpected_error_response.py +++ b/src/apideck/model/unexpected_error_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/unified_api_id.py b/src/apideck/model/unified_api_id.py index 8fb2c1073..2c9f0ee15 100644 --- a/src/apideck/model/unified_api_id.py +++ b/src/apideck/model/unified_api_id.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -52,31 +52,32 @@ class UnifiedApiId(ModelSimple): allowed_values = { ('value',): { - 'VAULT': "vault", - 'LEAD': "lead", - 'CRM': "crm", 'ACCOUNTING': "accounting", - 'FILE-STORAGE': "file-storage", - 'SPREADSHEET': "spreadsheet", + 'ATS': "ats", + 'CALENDAR': "calendar", + 'CRM': "crm", + 'CSP': "csp", + 'CUSTOMER-SUPPORT': "customer-support", + 'ECOMMERCE': "ecommerce", 'EMAIL': "email", + 'EMAIL-MARKETING': "email-marketing", + 'EXPENSE-MANAGEMENT': "expense-management", + 'FILE-STORAGE': "file-storage", + 'FORM': "form", + 'HRIS': "hris", + 'LEAD': "lead", + 'PAYROLL': "payroll", + 'POS': "pos", + 'PROCUREMENT': "procurement", + 'PROJECT-MANAGEMENT': "project-management", 'SCRIPT': "script", 'SMS': "sms", + 'SPREADSHEET': "spreadsheet", 'TEAM-MESSAGING': "team-messaging", - 'ECOMMERCE': "ecommerce", - 'PAYROLL': "payroll", - 'CUSTOMER-SUPPORT': "customer-support", + 'ISSUE-TRACKING': "issue-tracking", 'TIME-REGISTRATION': "time-registration", 'TRANSACTIONAL-EMAIL': "transactional-email", - 'FORM': "form", - 'CSP': "csp", - 'EMAIL-MARKETING': "email-marketing", - 'ATS': "ats", - 'HRIS': "hris", - 'POS': "pos", - 'PROJECT-MANAGEMENT': "project-management", - 'EXPENSE-MANAGEMENT': "expense-management", - 'CALENDAR': "calendar", - 'PROCUREMENT': "procurement", + 'VAULT': "vault", }, } @@ -128,10 +129,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): Name of Apideck Unified API., must be one of ["vault", "lead", "crm", "accounting", "file-storage", "spreadsheet", "email", "script", "sms", "team-messaging", "ecommerce", "payroll", "customer-support", "time-registration", "transactional-email", "form", "csp", "email-marketing", "ats", "hris", "pos", "project-management", "expense-management", "calendar", "procurement", ] # noqa: E501 + args[0] (str): Name of Apideck Unified API., must be one of ["accounting", "ats", "calendar", "crm", "csp", "customer-support", "ecommerce", "email", "email-marketing", "expense-management", "file-storage", "form", "hris", "lead", "payroll", "pos", "procurement", "project-management", "script", "sms", "spreadsheet", "team-messaging", "issue-tracking", "time-registration", "transactional-email", "vault", ] # noqa: E501 Keyword Args: - value (str): Name of Apideck Unified API., must be one of ["vault", "lead", "crm", "accounting", "file-storage", "spreadsheet", "email", "script", "sms", "team-messaging", "ecommerce", "payroll", "customer-support", "time-registration", "transactional-email", "form", "csp", "email-marketing", "ats", "hris", "pos", "project-management", "expense-management", "calendar", "procurement", ] # noqa: E501 + value (str): Name of Apideck Unified API., must be one of ["accounting", "ats", "calendar", "crm", "csp", "customer-support", "ecommerce", "email", "email-marketing", "expense-management", "file-storage", "form", "hris", "lead", "payroll", "pos", "procurement", "project-management", "script", "sms", "spreadsheet", "team-messaging", "issue-tracking", "time-registration", "transactional-email", "vault", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -218,10 +219,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str): Name of Apideck Unified API., must be one of ["vault", "lead", "crm", "accounting", "file-storage", "spreadsheet", "email", "script", "sms", "team-messaging", "ecommerce", "payroll", "customer-support", "time-registration", "transactional-email", "form", "csp", "email-marketing", "ats", "hris", "pos", "project-management", "expense-management", "calendar", "procurement", ] # noqa: E501 + args[0] (str): Name of Apideck Unified API., must be one of ["accounting", "ats", "calendar", "crm", "csp", "customer-support", "ecommerce", "email", "email-marketing", "expense-management", "file-storage", "form", "hris", "lead", "payroll", "pos", "procurement", "project-management", "script", "sms", "spreadsheet", "team-messaging", "issue-tracking", "time-registration", "transactional-email", "vault", ] # noqa: E501 Keyword Args: - value (str): Name of Apideck Unified API., must be one of ["vault", "lead", "crm", "accounting", "file-storage", "spreadsheet", "email", "script", "sms", "team-messaging", "ecommerce", "payroll", "customer-support", "time-registration", "transactional-email", "form", "csp", "email-marketing", "ats", "hris", "pos", "project-management", "expense-management", "calendar", "procurement", ] # noqa: E501 + value (str): Name of Apideck Unified API., must be one of ["accounting", "ats", "calendar", "crm", "csp", "customer-support", "ecommerce", "email", "email-marketing", "expense-management", "file-storage", "form", "hris", "lead", "payroll", "pos", "procurement", "project-management", "script", "sms", "spreadsheet", "team-messaging", "issue-tracking", "time-registration", "transactional-email", "vault", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/src/apideck/model/unified_file.py b/src/apideck/model/unified_file.py index a87871edf..9a7387ef4 100644 --- a/src/apideck/model/unified_file.py +++ b/src/apideck/model/unified_file.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -143,7 +143,7 @@ def _from_openapi_data(cls, id, name, type, *args, **kwargs): # noqa: E501 """UnifiedFile - a model defined in OpenAPI Args: - id (str): + id (str): A unique identifier for an object. name (str): The name of the file type (FileType): @@ -187,10 +187,10 @@ def _from_openapi_data(cls, id, name, type, *args, **kwargs): # noqa: E501 owner (Owner): [optional] # noqa: E501 parent_folders ([LinkedFolder]): The parent folders of the file, starting from the root. [optional] # noqa: E501 parent_folders_complete (bool): Whether the list of parent folder is complete. Some connectors only return the direct parent of a file. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -287,10 +287,10 @@ def __init__(self, name, type, *args, **kwargs): # noqa: E501 owner (Owner): [optional] # noqa: E501 parent_folders ([LinkedFolder]): The parent folders of the file, starting from the root. [optional] # noqa: E501 parent_folders_complete (bool): Whether the list of parent folder is complete. Some connectors only return the direct parent of a file. [optional] # noqa: E501 - updated_by (str, none_type): [optional] # noqa: E501 - created_by (str, none_type): [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_by (str, none_type): The user who last updated the object.. [optional] # noqa: E501 + created_by (str, none_type): The user who created the object.. [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/unified_id.py b/src/apideck/model/unified_id.py index 030acc6bb..89b4312b3 100644 --- a/src/apideck/model/unified_id.py +++ b/src/apideck/model/unified_id.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -105,7 +105,7 @@ def _from_openapi_data(cls, id, *args, **kwargs): # noqa: E501 """UnifiedId - a model defined in OpenAPI Args: - id (str): + id (str): The unique identifier of the resource Keyword Args: _check_type (bool): if True, values for parameters in openapi_types diff --git a/src/apideck/model/unprocessable_response.py b/src/apideck/model/unprocessable_response.py index fc6fd2f72..19d386c75 100644 --- a/src/apideck/model/unprocessable_response.py +++ b/src/apideck/model/unprocessable_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_activity_response.py b/src/apideck/model/update_activity_response.py index ff19c54d1..6db089ce8 100644 --- a/src/apideck/model/update_activity_response.py +++ b/src/apideck/model/update_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_bill_response.py b/src/apideck/model/update_bill_response.py index ddff0cc0d..0647e9b4b 100644 --- a/src/apideck/model/update_bill_response.py +++ b/src/apideck/model/update_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_comment_response.py b/src/apideck/model/update_comment_response.py new file mode 100644 index 000000000..4b28f3b2f --- /dev/null +++ b/src/apideck/model/update_comment_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class UpdateCommentResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateCommentResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_company_response.py b/src/apideck/model/update_company_response.py index def1c6039..b513efaba 100644 --- a/src/apideck/model/update_company_response.py +++ b/src/apideck/model/update_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_connection_response.py b/src/apideck/model/update_connection_response.py index fcb0371c3..1314bfae0 100644 --- a/src/apideck/model/update_connection_response.py +++ b/src/apideck/model/update_connection_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_consumer_request.py b/src/apideck/model/update_consumer_request.py new file mode 100644 index 000000000..679f23132 --- /dev/null +++ b/src/apideck/model/update_consumer_request.py @@ -0,0 +1,254 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.consumer_metadata import ConsumerMetadata + globals()['ConsumerMetadata'] = ConsumerMetadata + + +class UpdateConsumerRequest(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'metadata': (ConsumerMetadata,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'metadata': 'metadata', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """UpdateConsumerRequest - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + metadata (ConsumerMetadata): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """UpdateConsumerRequest - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + metadata (ConsumerMetadata): [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_consumer_response.py b/src/apideck/model/update_consumer_response.py new file mode 100644 index 000000000..0e5dc581e --- /dev/null +++ b/src/apideck/model/update_consumer_response.py @@ -0,0 +1,279 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.consumer import Consumer + globals()['Consumer'] = Consumer + + +class UpdateConsumerResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'data': (Consumer,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, data, *args, **kwargs): # noqa: E501 + """UpdateConsumerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + data (Consumer): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, data, *args, **kwargs): # noqa: E501 + """UpdateConsumerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + data (Consumer): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_contact_response.py b/src/apideck/model/update_contact_response.py index 8ebc1b679..9255063a5 100644 --- a/src/apideck/model/update_contact_response.py +++ b/src/apideck/model/update_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_credit_note_response.py b/src/apideck/model/update_credit_note_response.py index d641d55fd..9b74244fb 100644 --- a/src/apideck/model/update_credit_note_response.py +++ b/src/apideck/model/update_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_customer_response.py b/src/apideck/model/update_customer_response.py index 0f4f4b0a8..4715ac59a 100644 --- a/src/apideck/model/update_customer_response.py +++ b/src/apideck/model/update_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_customer_support_customer_response.py b/src/apideck/model/update_customer_support_customer_response.py index f506292bc..0c1a80cd7 100644 --- a/src/apideck/model/update_customer_support_customer_response.py +++ b/src/apideck/model/update_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_department_response.py b/src/apideck/model/update_department_response.py index a606812a8..206b67258 100644 --- a/src/apideck/model/update_department_response.py +++ b/src/apideck/model/update_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_drive_group_response.py b/src/apideck/model/update_drive_group_response.py index 02bc5dc88..4e1ca562c 100644 --- a/src/apideck/model/update_drive_group_response.py +++ b/src/apideck/model/update_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_drive_response.py b/src/apideck/model/update_drive_response.py index 4c151ae1c..d8075fef7 100644 --- a/src/apideck/model/update_drive_response.py +++ b/src/apideck/model/update_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_ecommerce_customer_response.py b/src/apideck/model/update_ecommerce_customer_response.py new file mode 100644 index 000000000..9617353a1 --- /dev/null +++ b/src/apideck/model/update_ecommerce_customer_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class UpdateEcommerceCustomerResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateEcommerceCustomerResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_ecommerce_order_response.py b/src/apideck/model/update_ecommerce_order_response.py new file mode 100644 index 000000000..d90c68741 --- /dev/null +++ b/src/apideck/model/update_ecommerce_order_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class UpdateEcommerceOrderResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateEcommerceOrderResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_employee_response.py b/src/apideck/model/update_employee_response.py index 2f361c888..52960c0d2 100644 --- a/src/apideck/model/update_employee_response.py +++ b/src/apideck/model/update_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_file_request.py b/src/apideck/model/update_file_request.py new file mode 100644 index 000000000..ac804624d --- /dev/null +++ b/src/apideck/model/update_file_request.py @@ -0,0 +1,257 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + + +class UpdateFileRequest(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + additional_properties_type = None + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + return { + 'name': (str,), # noqa: E501 + 'description': (str,), # noqa: E501 + 'parent_folder_id': (str,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'name': 'name', # noqa: E501 + 'description': 'description', # noqa: E501 + 'parent_folder_id': 'parent_folder_id', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 + """UpdateFileRequest - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The name of the file.. [optional] # noqa: E501 + description (str): Optional description of the file.. [optional] # noqa: E501 + parent_folder_id (str): The parent folder to create the new file within.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, *args, **kwargs): # noqa: E501 + """UpdateFileRequest - a model defined in OpenAPI + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + name (str): The name of the file.. [optional] # noqa: E501 + description (str): Optional description of the file.. [optional] # noqa: E501 + parent_folder_id (str): The parent folder to create the new file within.. [optional] # noqa: E501 + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_file_response.py b/src/apideck/model/update_file_response.py index 441886ef7..ea9d65604 100644 --- a/src/apideck/model/update_file_response.py +++ b/src/apideck/model/update_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_folder_request.py b/src/apideck/model/update_folder_request.py index afb3398a6..0b3d350e9 100644 --- a/src/apideck/model/update_folder_request.py +++ b/src/apideck/model/update_folder_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -135,7 +135,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the folder.. [optional] # noqa: E501 description (str): Optional description of the folder.. [optional] # noqa: E501 parent_folder_id (str): The parent folder to create the new file within.. [optional] # noqa: E501 @@ -220,7 +220,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 name (str): The name of the folder.. [optional] # noqa: E501 description (str): Optional description of the folder.. [optional] # noqa: E501 parent_folder_id (str): The parent folder to create the new file within.. [optional] # noqa: E501 diff --git a/src/apideck/model/update_folder_response.py b/src/apideck/model/update_folder_response.py index 1fdcaf511..1ee04f6ef 100644 --- a/src/apideck/model/update_folder_response.py +++ b/src/apideck/model/update_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_hris_company_response.py b/src/apideck/model/update_hris_company_response.py index b9dd79c53..544ec7c34 100644 --- a/src/apideck/model/update_hris_company_response.py +++ b/src/apideck/model/update_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_invoice_items_response.py b/src/apideck/model/update_invoice_items_response.py index de61a3513..4297559fd 100644 --- a/src/apideck/model/update_invoice_items_response.py +++ b/src/apideck/model/update_invoice_items_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_invoice_response.py b/src/apideck/model/update_invoice_response.py index 0c24ef84f..11e667087 100644 --- a/src/apideck/model/update_invoice_response.py +++ b/src/apideck/model/update_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_item_response.py b/src/apideck/model/update_item_response.py index 75851c462..7e8f0db87 100644 --- a/src/apideck/model/update_item_response.py +++ b/src/apideck/model/update_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_job_response.py b/src/apideck/model/update_job_response.py index f0f345106..35e6dad3d 100644 --- a/src/apideck/model/update_job_response.py +++ b/src/apideck/model/update_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_journal_entry_response.py b/src/apideck/model/update_journal_entry_response.py new file mode 100644 index 000000000..854fbf1f3 --- /dev/null +++ b/src/apideck/model/update_journal_entry_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class UpdateJournalEntryResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateJournalEntryResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_lead_response.py b/src/apideck/model/update_lead_response.py index 5e885c7c4..761334319 100644 --- a/src/apideck/model/update_lead_response.py +++ b/src/apideck/model/update_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_ledger_account_response.py b/src/apideck/model/update_ledger_account_response.py index f28129dd9..ab2b6127e 100644 --- a/src/apideck/model/update_ledger_account_response.py +++ b/src/apideck/model/update_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_location_response.py b/src/apideck/model/update_location_response.py index dd66da50f..644494e6a 100644 --- a/src/apideck/model/update_location_response.py +++ b/src/apideck/model/update_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_merchant_response.py b/src/apideck/model/update_merchant_response.py index 2a2a536bf..eb06c2a50 100644 --- a/src/apideck/model/update_merchant_response.py +++ b/src/apideck/model/update_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_message_response.py b/src/apideck/model/update_message_response.py index a5987226e..7608855c5 100644 --- a/src/apideck/model/update_message_response.py +++ b/src/apideck/model/update_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_modifier_group_response.py b/src/apideck/model/update_modifier_group_response.py index e65188e29..3057be0c7 100644 --- a/src/apideck/model/update_modifier_group_response.py +++ b/src/apideck/model/update_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_modifier_response.py b/src/apideck/model/update_modifier_response.py index f2cebfd47..94a0807f2 100644 --- a/src/apideck/model/update_modifier_response.py +++ b/src/apideck/model/update_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_note_response.py b/src/apideck/model/update_note_response.py index 45e3302fa..6b17bf891 100644 --- a/src/apideck/model/update_note_response.py +++ b/src/apideck/model/update_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_opportunity_response.py b/src/apideck/model/update_opportunity_response.py index 7f3a5f380..5b86904c1 100644 --- a/src/apideck/model/update_opportunity_response.py +++ b/src/apideck/model/update_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_order_response.py b/src/apideck/model/update_order_response.py index 97e78c76a..ef6bfefbf 100644 --- a/src/apideck/model/update_order_response.py +++ b/src/apideck/model/update_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_order_type_response.py b/src/apideck/model/update_order_type_response.py index 90ae9641f..6f1c956d0 100644 --- a/src/apideck/model/update_order_type_response.py +++ b/src/apideck/model/update_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_payment_response.py b/src/apideck/model/update_payment_response.py index 06c5df426..94659b9fe 100644 --- a/src/apideck/model/update_payment_response.py +++ b/src/apideck/model/update_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_pipeline_response.py b/src/apideck/model/update_pipeline_response.py index 42d097163..30f17147d 100644 --- a/src/apideck/model/update_pipeline_response.py +++ b/src/apideck/model/update_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_pos_payment_response.py b/src/apideck/model/update_pos_payment_response.py index d72cd9667..67218bd01 100644 --- a/src/apideck/model/update_pos_payment_response.py +++ b/src/apideck/model/update_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_product_response.py b/src/apideck/model/update_product_response.py new file mode 100644 index 000000000..9aab7adfc --- /dev/null +++ b/src/apideck/model/update_product_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class UpdateProductResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateProductResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_shared_link_response.py b/src/apideck/model/update_shared_link_response.py index aaacf0c3f..571e1a0a4 100644 --- a/src/apideck/model/update_shared_link_response.py +++ b/src/apideck/model/update_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_supplier_response.py b/src/apideck/model/update_supplier_response.py index 36e045897..f2dedad50 100644 --- a/src/apideck/model/update_supplier_response.py +++ b/src/apideck/model/update_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_tax_rate_response.py b/src/apideck/model/update_tax_rate_response.py index fc94daf10..bf9cea76e 100644 --- a/src/apideck/model/update_tax_rate_response.py +++ b/src/apideck/model/update_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_tender_response.py b/src/apideck/model/update_tender_response.py index 4d5b1a3a1..dd978431f 100644 --- a/src/apideck/model/update_tender_response.py +++ b/src/apideck/model/update_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_ticket_response.py b/src/apideck/model/update_ticket_response.py new file mode 100644 index 000000000..04d5df6ed --- /dev/null +++ b/src/apideck/model/update_ticket_response.py @@ -0,0 +1,297 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import re # noqa: F401 +import sys # noqa: F401 + +from apideck.model_utils import ( # noqa: F401 + ApiTypeError, + ModelComposed, + ModelNormal, + ModelSimple, + cached_property, + change_keys_js_to_python, + convert_js_args_to_python_args, + date, + datetime, + file_type, + none_type, + validate_get_composed_info, + OpenApiModel +) +from apideck.exceptions import ApiAttributeError + + +def lazy_import(): + from apideck.model.unified_id import UnifiedId + globals()['UnifiedId'] = UnifiedId + + +class UpdateTicketResponse(ModelNormal): + """NOTE: This class is auto generated by OpenAPI Generator. + Ref: https://openapi-generator.tech + + Do not edit the class manually. + + Attributes: + allowed_values (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + with a capitalized key describing the allowed value and an allowed + value. These dicts store the allowed enum values. + attribute_map (dict): The key is attribute name + and the value is json key in definition. + discriminator_value_class_map (dict): A dict to go from the discriminator + variable value to the discriminator class name. + validations (dict): The key is the tuple path to the attribute + and the for var_name this is (var_name,). The value is a dict + that stores validations for max_length, min_length, max_items, + min_items, exclusive_maximum, inclusive_maximum, exclusive_minimum, + inclusive_minimum, and regex. + additional_properties_type (tuple): A tuple of classes accepted + as additional properties values. + """ + + allowed_values = { + } + + validations = { + } + + @cached_property + def additional_properties_type(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + """ + lazy_import() + return (bool, date, datetime, dict, float, int, list, str, none_type,) # noqa: E501 + + _nullable = False + + @cached_property + def openapi_types(): + """ + This must be a method because a model may have properties that are + of type self, this must run after the class is loaded + + Returns + openapi_types (dict): The key is attribute name + and the value is attribute type. + """ + lazy_import() + return { + 'status_code': (int,), # noqa: E501 + 'status': (str,), # noqa: E501 + 'service': (str,), # noqa: E501 + 'resource': (str,), # noqa: E501 + 'operation': (str,), # noqa: E501 + 'data': (UnifiedId,), # noqa: E501 + } + + @cached_property + def discriminator(): + return None + + + attribute_map = { + 'status_code': 'status_code', # noqa: E501 + 'status': 'status', # noqa: E501 + 'service': 'service', # noqa: E501 + 'resource': 'resource', # noqa: E501 + 'operation': 'operation', # noqa: E501 + 'data': 'data', # noqa: E501 + } + + read_only_vars = { + } + + _composed_schemas = {} + + @classmethod + @convert_js_args_to_python_args + def _from_openapi_data(cls, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + self = super(OpenApiModel, cls).__new__(cls) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + return self + + required_properties = set([ + '_data_store', + '_check_type', + '_spec_property_naming', + '_path_to_item', + '_configuration', + '_visited_composed_classes', + ]) + + @convert_js_args_to_python_args + def __init__(self, status_code, status, service, resource, operation, data, *args, **kwargs): # noqa: E501 + """UpdateTicketResponse - a model defined in OpenAPI + + Args: + status_code (int): HTTP Response Status Code + status (str): HTTP Response Status + service (str): Apideck ID of service provider + resource (str): Unified API resource name + operation (str): Operation performed + data (UnifiedId): + + Keyword Args: + _check_type (bool): if True, values for parameters in openapi_types + will be type checked and a TypeError will be + raised if the wrong type is input. + Defaults to True + _path_to_item (tuple/list): This is a list of keys or values to + drill down to the model in received_data + when deserializing a response + _spec_property_naming (bool): True if the variable names in the input data + are serialized names, as specified in the OpenAPI document. + False if the variable names in the input data + are pythonic names, e.g. snake case (default) + _configuration (Configuration): the instance to use when + deserializing a file_type parameter. + If passed, type conversion is attempted + If omitted no type conversion is done. + _visited_composed_classes (tuple): This stores a tuple of + classes that we have traveled through so that + if we see that class again we will not use its + discriminator again. + When traveling through a discriminator, the + composed schema that is + is traveled through is added to this set. + For example if Animal has a discriminator + petType and we pass in "Dog", and the class Dog + allOf includes Animal, we move through Animal + once using the discriminator, and pick Dog. + Then in Dog, we will make an instance of the + Animal class but this time we won't travel + through its discriminator because we passed in + _visited_composed_classes = (Animal,) + """ + + _check_type = kwargs.pop('_check_type', True) + _spec_property_naming = kwargs.pop('_spec_property_naming', False) + _path_to_item = kwargs.pop('_path_to_item', ()) + _configuration = kwargs.pop('_configuration', None) + _visited_composed_classes = kwargs.pop('_visited_composed_classes', ()) + + if args: + raise ApiTypeError( + "Invalid positional arguments=%s passed to %s. Remove those invalid positional arguments." % ( + args, + self.__class__.__name__, + ), + path_to_item=_path_to_item, + valid_classes=(self.__class__,), + ) + + self._data_store = {} + self._check_type = _check_type + self._spec_property_naming = _spec_property_naming + self._path_to_item = _path_to_item + self._configuration = _configuration + self._visited_composed_classes = _visited_composed_classes + (self.__class__,) + + self.status_code = status_code + self.status = status + self.service = service + self.resource = resource + self.operation = operation + self.data = data + for var_name, var_value in kwargs.items(): + if var_name not in self.attribute_map and \ + self._configuration is not None and \ + self._configuration.discard_unknown_keys and \ + self.additional_properties_type is None: + # discard variable. + continue + setattr(self, var_name, var_value) + if var_name in self.read_only_vars: + raise ApiAttributeError(f"`{var_name}` is a read-only attribute. Use `from_openapi_data` to instantiate " + f"class with read only attributes.") diff --git a/src/apideck/model/update_time_off_request_response.py b/src/apideck/model/update_time_off_request_response.py index 5bdc83faf..74915e094 100644 --- a/src/apideck/model/update_time_off_request_response.py +++ b/src/apideck/model/update_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_upload_session_response.py b/src/apideck/model/update_upload_session_response.py index 6bcd6cdd1..1cb88fe09 100644 --- a/src/apideck/model/update_upload_session_response.py +++ b/src/apideck/model/update_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_user_response.py b/src/apideck/model/update_user_response.py index 6f9d948da..bb0b28b62 100644 --- a/src/apideck/model/update_user_response.py +++ b/src/apideck/model/update_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/update_webhook_request.py b/src/apideck/model/update_webhook_request.py index f8c752aca..e28cb15f0 100644 --- a/src/apideck/model/update_webhook_request.py +++ b/src/apideck/model/update_webhook_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -143,7 +143,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 status (Status): [optional] # noqa: E501 delivery_url (DeliveryUrl): [optional] # noqa: E501 events ([WebhookEventType]): The list of subscribed events for this webhook. [`*`] indicates that all events are enabled.. [optional] # noqa: E501 @@ -228,7 +228,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 status (Status): [optional] # noqa: E501 delivery_url (DeliveryUrl): [optional] # noqa: E501 events ([WebhookEventType]): The list of subscribed events for this webhook. [`*`] indicates that all events are enabled.. [optional] # noqa: E501 diff --git a/src/apideck/model/update_webhook_response.py b/src/apideck/model/update_webhook_response.py index 8ac06ce37..2b88bdeef 100644 --- a/src/apideck/model/update_webhook_response.py +++ b/src/apideck/model/update_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/upload_session.py b/src/apideck/model/upload_session.py index bd741b0bc..d59ad5c8f 100644 --- a/src/apideck/model/upload_session.py +++ b/src/apideck/model/upload_session.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -144,7 +144,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 success (bool): Indicates if the upload session was completed successfully.. [optional] # noqa: E501 part_size (float): Size in bytes of each part of the file that you will upload. Uploaded parts need to be this size for the upload to be successful.. [optional] # noqa: E501 parallel_upload_supported (bool): Indicates if parts of the file can uploaded in parallel.. [optional] # noqa: E501 @@ -231,7 +231,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 Animal class but this time we won't travel through its discriminator because we passed in _visited_composed_classes = (Animal,) - id (str): [optional] # noqa: E501 + id (str): A unique identifier for an object.. [optional] # noqa: E501 success (bool): Indicates if the upload session was completed successfully.. [optional] # noqa: E501 part_size (float): Size in bytes of each part of the file that you will upload. Uploaded parts need to be this size for the upload to be successful.. [optional] # noqa: E501 parallel_upload_supported (bool): Indicates if parts of the file can uploaded in parallel.. [optional] # noqa: E501 diff --git a/src/apideck/model/url.py b/src/apideck/model/url.py index 924a87037..ba0cdb439 100644 --- a/src/apideck/model/url.py +++ b/src/apideck/model/url.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/user.py b/src/apideck/model/user.py index 54d607523..7c3a96ebd 100644 --- a/src/apideck/model/user.py +++ b/src/apideck/model/user.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -191,14 +191,14 @@ def _from_openapi_data(cls, emails, *args, **kwargs): # noqa: E501 id (str): [optional] # noqa: E501 parent_id (str, none_type): [optional] # noqa: E501 username (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - division (str, none_type): The division the user is currently in.. [optional] # noqa: E501 - department (str, none_type): The department the user is currently in.. [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + division (str, none_type): The division the person is currently in. Usually a collection of departments or teams or regions.. [optional] # noqa: E501 + department (str, none_type): The department the person is currently in.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 employee_number (str, none_type): An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company.. [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 image (str, none_type): [optional] # noqa: E501 language (str, none_type): language code according to ISO 639-1. For the United States - EN. [optional] # noqa: E501 status (str, none_type): [optional] # noqa: E501 @@ -295,14 +295,14 @@ def __init__(self, emails, *args, **kwargs): # noqa: E501 id (str): [optional] # noqa: E501 parent_id (str, none_type): [optional] # noqa: E501 username (str, none_type): [optional] # noqa: E501 - first_name (str, none_type): [optional] # noqa: E501 - last_name (str, none_type): [optional] # noqa: E501 - title (str, none_type): [optional] # noqa: E501 - division (str, none_type): The division the user is currently in.. [optional] # noqa: E501 - department (str, none_type): The department the user is currently in.. [optional] # noqa: E501 - company_name (str, none_type): [optional] # noqa: E501 + first_name (str, none_type): The first name of the person.. [optional] # noqa: E501 + last_name (str, none_type): The last name of the person.. [optional] # noqa: E501 + title (str, none_type): The job title of the person.. [optional] # noqa: E501 + division (str, none_type): The division the person is currently in. Usually a collection of departments or teams or regions.. [optional] # noqa: E501 + department (str, none_type): The department the person is currently in.. [optional] # noqa: E501 + company_name (str, none_type): The name of the company.. [optional] # noqa: E501 employee_number (str, none_type): An Employee Number, Employee ID or Employee Code, is a unique number that has been assigned to each individual staff member within a company.. [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 image (str, none_type): [optional] # noqa: E501 language (str, none_type): language code according to ISO 639-1. For the United States - EN. [optional] # noqa: E501 status (str, none_type): [optional] # noqa: E501 diff --git a/src/apideck/model/vault_event_type.py b/src/apideck/model/vault_event_type.py index 9b0c45292..ca1b39073 100644 --- a/src/apideck/model/vault_event_type.py +++ b/src/apideck/model/vault_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/virtual_webhooks.py b/src/apideck/model/virtual_webhooks.py index 1c37ab140..415bec660 100644 --- a/src/apideck/model/virtual_webhooks.py +++ b/src/apideck/model/virtual_webhooks.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/wallet_details.py b/src/apideck/model/wallet_details.py index dcdec5e7d..2471c02a9 100644 --- a/src/apideck/model/wallet_details.py +++ b/src/apideck/model/wallet_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/webhook.py b/src/apideck/model/webhook.py index 454b1a470..a7140be00 100644 --- a/src/apideck/model/webhook.py +++ b/src/apideck/model/webhook.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -68,6 +68,7 @@ class Webhook(ModelNormal): allowed_values = { ('disabled_reason',): { + 'NONE': "none", 'RETRY_LIMIT': "retry_limit", 'USAGE_LIMIT': "usage_limit", }, @@ -174,10 +175,10 @@ def _from_openapi_data(cls, unified_api, status, delivery_url, execute_base_url, through its discriminator because we passed in _visited_composed_classes = (Animal,) id (str): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 disabled_reason (str): Indicates if the webhook has has been disabled as it reached its retry limit or if account is over the usage allocated by it's plan.. [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) @@ -272,10 +273,10 @@ def __init__(self, unified_api, status, delivery_url, execute_base_url, events, through its discriminator because we passed in _visited_composed_classes = (Animal,) id (str): [optional] # noqa: E501 - description (str, none_type): [optional] # noqa: E501 + description (str, none_type): A description of the object.. [optional] # noqa: E501 disabled_reason (str): Indicates if the webhook has has been disabled as it reached its retry limit or if account is over the usage allocated by it's plan.. [optional] # noqa: E501 - updated_at (datetime, none_type): [optional] # noqa: E501 - created_at (datetime): [optional] # noqa: E501 + updated_at (datetime, none_type): The date and time when the object was last updated.. [optional] # noqa: E501 + created_at (datetime): The date and time when the object was created.. [optional] # noqa: E501 """ _check_type = kwargs.pop('_check_type', True) diff --git a/src/apideck/model/webhook_event_log.py b/src/apideck/model/webhook_event_log.py index 94673a4cc..2abac2c9f 100644 --- a/src/apideck/model/webhook_event_log.py +++ b/src/apideck/model/webhook_event_log.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -178,7 +178,7 @@ def _from_openapi_data(cls, *args, **kwargs): # noqa: E501 status_code (int): HTTP Status code that was returned.. [optional] # noqa: E501 success (bool): Whether or not the request was successful.. [optional] # noqa: E501 application_id (str): ID of your Apideck Application. [optional] # noqa: E501 - consumer_id (str): Consumer identifier. [optional] # noqa: E501 + consumer_id (str): Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.. [optional] # noqa: E501 unified_api (UnifiedApiId): [optional] # noqa: E501 service (WebhookEventLogService): [optional] # noqa: E501 endpoint (str): The URL of the webhook endpoint.. [optional] # noqa: E501 @@ -276,7 +276,7 @@ def __init__(self, *args, **kwargs): # noqa: E501 status_code (int): HTTP Status code that was returned.. [optional] # noqa: E501 success (bool): Whether or not the request was successful.. [optional] # noqa: E501 application_id (str): ID of your Apideck Application. [optional] # noqa: E501 - consumer_id (str): Consumer identifier. [optional] # noqa: E501 + consumer_id (str): Unique consumer identifier. You can freely choose a consumer ID yourself. Most of the time, this is an ID of your internal data model that represents a user or account in your system (for example account:12345). If the consumer doesn't exist yet, Vault will upsert a consumer based on your ID.. [optional] # noqa: E501 unified_api (UnifiedApiId): [optional] # noqa: E501 service (WebhookEventLogService): [optional] # noqa: E501 endpoint (str): The URL of the webhook endpoint.. [optional] # noqa: E501 diff --git a/src/apideck/model/webhook_event_log_attempts.py b/src/apideck/model/webhook_event_log_attempts.py index effe257da..097a78926 100644 --- a/src/apideck/model/webhook_event_log_attempts.py +++ b/src/apideck/model/webhook_event_log_attempts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/webhook_event_log_service.py b/src/apideck/model/webhook_event_log_service.py index d3a6aaa2d..4efaf2a28 100644 --- a/src/apideck/model/webhook_event_log_service.py +++ b/src/apideck/model/webhook_event_log_service.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/webhook_event_logs_filter.py b/src/apideck/model/webhook_event_logs_filter.py index 46c5a417a..a2aed9aa6 100644 --- a/src/apideck/model/webhook_event_logs_filter.py +++ b/src/apideck/model/webhook_event_logs_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/webhook_event_logs_filter_service.py b/src/apideck/model/webhook_event_logs_filter_service.py index 1571cec89..76b8cc276 100644 --- a/src/apideck/model/webhook_event_logs_filter_service.py +++ b/src/apideck/model/webhook_event_logs_filter_service.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/webhook_event_type.py b/src/apideck/model/webhook_event_type.py index 01e4327e1..70dea7284 100644 --- a/src/apideck/model/webhook_event_type.py +++ b/src/apideck/model/webhook_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -143,6 +143,9 @@ class WebhookEventType(ModelSimple): 'FILE-STORAGE.FILE.CREATED': "file-storage.file.created", 'FILE-STORAGE.FILE.UPDATED': "file-storage.file.updated", 'FILE-STORAGE.FILE.DELETED': "file-storage.file.deleted", + 'ISSUE-TRACKING.TICKET.CREATED': "issue-tracking.ticket.created", + 'ISSUE-TRACKING.TICKET.UPDATED': "issue-tracking.ticket.updated", + 'ISSUE-TRACKING.TICKET.DELETED': "issue-tracking.ticket.deleted", }, } @@ -194,10 +197,10 @@ def __init__(self, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", ] # noqa: E501 + args[0] (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 Keyword Args: - value (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", ] # noqa: E501 + value (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. @@ -284,10 +287,10 @@ def _from_openapi_data(cls, *args, **kwargs): Note that value can be passed either in args or in kwargs, but not in both. Args: - args[0] (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", ] # noqa: E501 + args[0] (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 Keyword Args: - value (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", ] # noqa: E501 + value (str):, must be one of ["*", "crm.activity.created", "crm.activity.updated", "crm.activity.deleted", "crm.company.created", "crm.company.updated", "crm.company.deleted", "crm.contact.created", "crm.contact.updated", "crm.contact.deleted", "crm.lead.created", "crm.lead.updated", "crm.lead.deleted", "crm.note.created", "crm.notes.updated", "crm.notes.deleted", "crm.opportunity.created", "crm.opportunity.updated", "crm.opportunity.deleted", "lead.lead.created", "lead.lead.updated", "lead.lead.deleted", "vault.connection.created", "vault.connection.updated", "vault.connection.disabled", "vault.connection.deleted", "vault.connection.callable", "vault.connection.token_refresh.failed", "ats.job.created", "ats.job.updated", "ats.job.deleted", "ats.applicant.created", "ats.applicant.updated", "ats.applicant.deleted", "accounting.customer.created", "accounting.customer.updated", "accounting.customer.deleted", "accounting.invoice.created", "accounting.invoice.updated", "accounting.invoice.deleted", "accounting.invoice_item.created", "accounting.invoice_item.updated", "accounting.invoice_item.deleted", "accounting.ledger_account.created", "accounting.ledger_account.updated", "accounting.ledger_account.deleted", "accounting.tax_rate.created", "accounting.tax_rate.updated", "accounting.tax_rate.deleted", "accounting.bill.created", "accounting.bill.updated", "accounting.bill.deleted", "accounting.payment.created", "accounting.payment.updated", "accounting.payment.deleted", "accounting.supplier.created", "accounting.supplier.updated", "accounting.supplier.deleted", "pos.order.created", "pos.order.updated", "pos.order.deleted", "pos.product.created", "pos.product.updated", "pos.product.deleted", "pos.payment.created", "pos.payment.updated", "pos.payment.deleted", "pos.merchant.created", "pos.merchant.updated", "pos.merchant.deleted", "pos.location.created", "pos.location.updated", "pos.location.deleted", "pos.item.created", "pos.item.updated", "pos.item.deleted", "pos.modifier.created", "pos.modifier.updated", "pos.modifier.deleted", "pos.modifier-group.created", "pos.modifier-group.updated", "pos.modifier-group.deleted", "hris.employee.created", "hris.employee.updated", "hris.employee.deleted", "hris.company.created", "hris.company.updated", "hris.company.deleted", "file-storage.file.created", "file-storage.file.updated", "file-storage.file.deleted", "issue-tracking.ticket.created", "issue-tracking.ticket.updated", "issue-tracking.ticket.deleted", ] # noqa: E501 _check_type (bool): if True, values for parameters in openapi_types will be type checked and a TypeError will be raised if the wrong type is input. diff --git a/src/apideck/model/webhook_subscription.py b/src/apideck/model/webhook_subscription.py index c514bc89d..ad1720a2e 100644 --- a/src/apideck/model/webhook_subscription.py +++ b/src/apideck/model/webhook_subscription.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/webhook_support.py b/src/apideck/model/webhook_support.py index 8aad58fe4..a01bb0825 100644 --- a/src/apideck/model/webhook_support.py +++ b/src/apideck/model/webhook_support.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model/website.py b/src/apideck/model/website.py index f4dd02b9b..0a3bad117 100644 --- a/src/apideck/model/website.py +++ b/src/apideck/model/website.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/model_utils.py b/src/apideck/model_utils.py index e7577c9ac..8c6d0e7d6 100644 --- a/src/apideck/model_utils.py +++ b/src/apideck/model_utils.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/apideck/models/__init__.py b/src/apideck/models/__init__.py index d9ce870e4..a5ec9953a 100644 --- a/src/apideck/models/__init__.py +++ b/src/apideck/models/__init__.py @@ -11,6 +11,7 @@ from apideck.model.accounting_customer import AccountingCustomer from apideck.model.accounting_event_type import AccountingEventType +from apideck.model.activities_filter import ActivitiesFilter from apideck.model.activity import Activity from apideck.model.activity_attendee import ActivityAttendee from apideck.model.address import Address @@ -26,6 +27,7 @@ from apideck.model.applicant_social_links import ApplicantSocialLinks from apideck.model.applicant_websites import ApplicantWebsites from apideck.model.applicants_filter import ApplicantsFilter +from apideck.model.assignee import Assignee from apideck.model.ats_activity import AtsActivity from apideck.model.ats_event_type import AtsEventType from apideck.model.auth_type import AuthType @@ -45,8 +47,15 @@ from apideck.model.benefit import Benefit from apideck.model.bill import Bill from apideck.model.bill_line_item import BillLineItem +from apideck.model.bills_sort import BillsSort from apideck.model.branch import Branch from apideck.model.cash_details import CashDetails +from apideck.model.collection import Collection +from apideck.model.collection_tag import CollectionTag +from apideck.model.collection_ticket_comment import CollectionTicketComment +from apideck.model.collection_user import CollectionUser +from apideck.model.collections_sort import CollectionsSort +from apideck.model.comments_sort import CommentsSort from apideck.model.companies_filter import CompaniesFilter from apideck.model.companies_sort import CompaniesSort from apideck.model.company import Company @@ -84,8 +93,10 @@ from apideck.model.create_activity_response import CreateActivityResponse from apideck.model.create_applicant_response import CreateApplicantResponse from apideck.model.create_bill_response import CreateBillResponse +from apideck.model.create_comment_response import CreateCommentResponse from apideck.model.create_company_response import CreateCompanyResponse from apideck.model.create_connection_response import CreateConnectionResponse +from apideck.model.create_consumer_response import CreateConsumerResponse from apideck.model.create_contact_response import CreateContactResponse from apideck.model.create_credit_note_response import CreateCreditNoteResponse from apideck.model.create_customer_response import CreateCustomerResponse @@ -93,6 +104,8 @@ from apideck.model.create_department_response import CreateDepartmentResponse from apideck.model.create_drive_group_response import CreateDriveGroupResponse from apideck.model.create_drive_response import CreateDriveResponse +from apideck.model.create_ecommerce_customer_response import CreateEcommerceCustomerResponse +from apideck.model.create_ecommerce_order_response import CreateEcommerceOrderResponse from apideck.model.create_employee_response import CreateEmployeeResponse from apideck.model.create_file_request import CreateFileRequest from apideck.model.create_file_response import CreateFileResponse @@ -103,6 +116,7 @@ from apideck.model.create_invoice_response import CreateInvoiceResponse from apideck.model.create_item_response import CreateItemResponse from apideck.model.create_job_response import CreateJobResponse +from apideck.model.create_journal_entry_response import CreateJournalEntryResponse from apideck.model.create_lead_response import CreateLeadResponse from apideck.model.create_ledger_account_response import CreateLedgerAccountResponse from apideck.model.create_location_response import CreateLocationResponse @@ -117,12 +131,14 @@ from apideck.model.create_payment_response import CreatePaymentResponse from apideck.model.create_pipeline_response import CreatePipelineResponse from apideck.model.create_pos_payment_response import CreatePosPaymentResponse +from apideck.model.create_product_response import CreateProductResponse from apideck.model.create_session_response import CreateSessionResponse from apideck.model.create_session_response_data import CreateSessionResponseData from apideck.model.create_shared_link_response import CreateSharedLinkResponse from apideck.model.create_supplier_response import CreateSupplierResponse from apideck.model.create_tax_rate_response import CreateTaxRateResponse from apideck.model.create_tender_response import CreateTenderResponse +from apideck.model.create_ticket_response import CreateTicketResponse from apideck.model.create_time_off_request_response import CreateTimeOffRequestResponse from apideck.model.create_upload_session_request import CreateUploadSessionRequest from apideck.model.create_upload_session_response import CreateUploadSessionResponse @@ -138,7 +154,9 @@ from apideck.model.deduction import Deduction from apideck.model.delete_activity_response import DeleteActivityResponse from apideck.model.delete_bill_response import DeleteBillResponse +from apideck.model.delete_comment_response import DeleteCommentResponse from apideck.model.delete_company_response import DeleteCompanyResponse +from apideck.model.delete_consumer_response import DeleteConsumerResponse from apideck.model.delete_contact_response import DeleteContactResponse from apideck.model.delete_credit_note_response import DeleteCreditNoteResponse from apideck.model.delete_customer_response import DeleteCustomerResponse @@ -146,6 +164,8 @@ from apideck.model.delete_department_response import DeleteDepartmentResponse from apideck.model.delete_drive_group_response import DeleteDriveGroupResponse from apideck.model.delete_drive_response import DeleteDriveResponse +from apideck.model.delete_ecommerce_customer_response import DeleteEcommerceCustomerResponse +from apideck.model.delete_ecommerce_order_response import DeleteEcommerceOrderResponse from apideck.model.delete_employee_response import DeleteEmployeeResponse from apideck.model.delete_file_response import DeleteFileResponse from apideck.model.delete_folder_response import DeleteFolderResponse @@ -154,6 +174,7 @@ from apideck.model.delete_invoice_response import DeleteInvoiceResponse from apideck.model.delete_item_response import DeleteItemResponse from apideck.model.delete_job_response import DeleteJobResponse +from apideck.model.delete_journal_entry_response import DeleteJournalEntryResponse from apideck.model.delete_lead_response import DeleteLeadResponse from apideck.model.delete_ledger_account_response import DeleteLedgerAccountResponse from apideck.model.delete_location_response import DeleteLocationResponse @@ -168,10 +189,12 @@ from apideck.model.delete_payment_response import DeletePaymentResponse from apideck.model.delete_pipeline_response import DeletePipelineResponse from apideck.model.delete_pos_payment_response import DeletePosPaymentResponse +from apideck.model.delete_product_response import DeleteProductResponse from apideck.model.delete_shared_link_response import DeleteSharedLinkResponse from apideck.model.delete_supplier_response import DeleteSupplierResponse from apideck.model.delete_tax_rate_response import DeleteTaxRateResponse from apideck.model.delete_tender_response import DeleteTenderResponse +from apideck.model.delete_ticket_response import DeleteTicketResponse from apideck.model.delete_time_off_request_response import DeleteTimeOffRequestResponse from apideck.model.delete_upload_session_response import DeleteUploadSessionResponse from apideck.model.delete_user_response import DeleteUserResponse @@ -182,18 +205,36 @@ from apideck.model.drive_group import DriveGroup from apideck.model.drive_groups_filter import DriveGroupsFilter from apideck.model.drives_filter import DrivesFilter +from apideck.model.ecommerce_address import EcommerceAddress +from apideck.model.ecommerce_customer import EcommerceCustomer +from apideck.model.ecommerce_customer_addresses import EcommerceCustomerAddresses +from apideck.model.ecommerce_customers_filter import EcommerceCustomersFilter +from apideck.model.ecommerce_discount import EcommerceDiscount +from apideck.model.ecommerce_order import EcommerceOrder +from apideck.model.ecommerce_order_line_item import EcommerceOrderLineItem +from apideck.model.ecommerce_order_status import EcommerceOrderStatus +from apideck.model.ecommerce_orders_filter import EcommerceOrdersFilter +from apideck.model.ecommerce_product import EcommerceProduct +from apideck.model.ecommerce_product_categories import EcommerceProductCategories +from apideck.model.ecommerce_product_images import EcommerceProductImages +from apideck.model.ecommerce_product_images1 import EcommerceProductImages1 +from apideck.model.ecommerce_product_options import EcommerceProductOptions +from apideck.model.ecommerce_product_options1 import EcommerceProductOptions1 +from apideck.model.ecommerce_product_variants import EcommerceProductVariants +from apideck.model.ecommerce_store import EcommerceStore from apideck.model.email import Email from apideck.model.employee import Employee from apideck.model.employee_compensations import EmployeeCompensations from apideck.model.employee_employment_role import EmployeeEmploymentRole from apideck.model.employee_jobs import EmployeeJobs from apideck.model.employee_manager import EmployeeManager -from apideck.model.employee_partner import EmployeePartner from apideck.model.employee_payroll import EmployeePayroll from apideck.model.employee_payrolls import EmployeePayrolls from apideck.model.employee_schedules import EmployeeSchedules from apideck.model.employee_team import EmployeeTeam from apideck.model.employees_filter import EmployeesFilter +from apideck.model.employees_sort import EmployeesSort +from apideck.model.employment_status import EmploymentStatus from apideck.model.error import Error from apideck.model.execute_base_url import ExecuteBaseUrl from apideck.model.execute_webhook_event_request import ExecuteWebhookEventRequest @@ -220,6 +261,13 @@ from apideck.model.get_balance_sheet_response import GetBalanceSheetResponse from apideck.model.get_bill_response import GetBillResponse from apideck.model.get_bills_response import GetBillsResponse +from apideck.model.get_collection_response import GetCollectionResponse +from apideck.model.get_collection_tags_response import GetCollectionTagsResponse +from apideck.model.get_collection_user_response import GetCollectionUserResponse +from apideck.model.get_collection_users_response import GetCollectionUsersResponse +from apideck.model.get_collections_response import GetCollectionsResponse +from apideck.model.get_comment_response import GetCommentResponse +from apideck.model.get_comments_response import GetCommentsResponse from apideck.model.get_companies_response import GetCompaniesResponse from apideck.model.get_company_info_response import GetCompanyInfoResponse from apideck.model.get_company_response import GetCompanyResponse @@ -245,6 +293,10 @@ from apideck.model.get_drive_groups_response import GetDriveGroupsResponse from apideck.model.get_drive_response import GetDriveResponse from apideck.model.get_drives_response import GetDrivesResponse +from apideck.model.get_ecommerce_customer_response import GetEcommerceCustomerResponse +from apideck.model.get_ecommerce_customers_response import GetEcommerceCustomersResponse +from apideck.model.get_ecommerce_order_response import GetEcommerceOrderResponse +from apideck.model.get_ecommerce_orders_response import GetEcommerceOrdersResponse from apideck.model.get_employee_payroll_response import GetEmployeePayrollResponse from apideck.model.get_employee_payrolls_response import GetEmployeePayrollsResponse from apideck.model.get_employee_response import GetEmployeeResponse @@ -266,6 +318,8 @@ from apideck.model.get_items_response import GetItemsResponse from apideck.model.get_job_response import GetJobResponse from apideck.model.get_jobs_response import GetJobsResponse +from apideck.model.get_journal_entries_response import GetJournalEntriesResponse +from apideck.model.get_journal_entry_response import GetJournalEntryResponse from apideck.model.get_lead_response import GetLeadResponse from apideck.model.get_leads_response import GetLeadsResponse from apideck.model.get_ledger_account_response import GetLedgerAccountResponse @@ -297,15 +351,21 @@ from apideck.model.get_pipelines_response import GetPipelinesResponse from apideck.model.get_pos_payment_response import GetPosPaymentResponse from apideck.model.get_pos_payments_response import GetPosPaymentsResponse +from apideck.model.get_product_response import GetProductResponse +from apideck.model.get_products_response import GetProductsResponse from apideck.model.get_profit_and_loss_response import GetProfitAndLossResponse from apideck.model.get_shared_link_response import GetSharedLinkResponse from apideck.model.get_shared_links_response import GetSharedLinksResponse +from apideck.model.get_store_response import GetStoreResponse +from apideck.model.get_stores_response import GetStoresResponse from apideck.model.get_supplier_response import GetSupplierResponse from apideck.model.get_suppliers_response import GetSuppliersResponse from apideck.model.get_tax_rate_response import GetTaxRateResponse from apideck.model.get_tax_rates_response import GetTaxRatesResponse from apideck.model.get_tender_response import GetTenderResponse from apideck.model.get_tenders_response import GetTendersResponse +from apideck.model.get_ticket_response import GetTicketResponse +from apideck.model.get_tickets_response import GetTicketsResponse from apideck.model.get_time_off_request_response import GetTimeOffRequestResponse from apideck.model.get_time_off_requests_response import GetTimeOffRequestsResponse from apideck.model.get_upload_session_response import GetUploadSessionResponse @@ -320,6 +380,7 @@ from apideck.model.hris_job_location import HrisJobLocation from apideck.model.hris_jobs import HrisJobs from apideck.model.idempotency_key import IdempotencyKey +from apideck.model.integration_state import IntegrationState from apideck.model.invoice import Invoice from apideck.model.invoice_item import InvoiceItem from apideck.model.invoice_item_asset_account import InvoiceItemAssetAccount @@ -330,11 +391,15 @@ from apideck.model.invoice_line_item import InvoiceLineItem from apideck.model.invoice_response import InvoiceResponse from apideck.model.invoices_sort import InvoicesSort +from apideck.model.issue_tracking_event_type import IssueTrackingEventType +from apideck.model.issues_filter import IssuesFilter from apideck.model.item import Item from apideck.model.job import Job from apideck.model.job_salary import JobSalary from apideck.model.job_status import JobStatus from apideck.model.jobs_filter import JobsFilter +from apideck.model.journal_entry import JournalEntry +from apideck.model.journal_entry_line_item import JournalEntryLineItem from apideck.model.lead import Lead from apideck.model.lead_event_type import LeadEventType from apideck.model.leads_filter import LeadsFilter @@ -345,11 +410,15 @@ from apideck.model.ledger_accounts import LedgerAccounts from apideck.model.linked_connector_resource import LinkedConnectorResource from apideck.model.linked_customer import LinkedCustomer +from apideck.model.linked_ecommerce_customer import LinkedEcommerceCustomer +from apideck.model.linked_ecommerce_order import LinkedEcommerceOrder from apideck.model.linked_folder import LinkedFolder from apideck.model.linked_invoice_item import LinkedInvoiceItem from apideck.model.linked_ledger_account import LinkedLedgerAccount +from apideck.model.linked_parent_customer import LinkedParentCustomer from apideck.model.linked_supplier import LinkedSupplier from apideck.model.linked_tax_rate import LinkedTaxRate +from apideck.model.linked_tracking_category import LinkedTrackingCategory from apideck.model.links import Links from apideck.model.location import Location from apideck.model.log import Log @@ -385,7 +454,7 @@ from apideck.model.order_type import OrderType from apideck.model.owner import Owner from apideck.model.pagination_coverage import PaginationCoverage -from apideck.model.passthrough import Passthrough +from apideck.model.pass_through_query import PassThroughQuery from apideck.model.payment import Payment from apideck.model.payment_allocations import PaymentAllocations from apideck.model.payment_card import PaymentCard @@ -394,6 +463,7 @@ from apideck.model.payroll import Payroll from apideck.model.payroll_totals import PayrollTotals from apideck.model.payrolls_filter import PayrollsFilter +from apideck.model.person import Person from apideck.model.phone_number import PhoneNumber from apideck.model.pipeline import Pipeline from apideck.model.pipeline_stages import PipelineStages @@ -434,6 +504,7 @@ from apideck.model.sort_direction import SortDirection from apideck.model.status import Status from apideck.model.supplier import Supplier +from apideck.model.suppliers_filter import SuppliersFilter from apideck.model.supported_property import SupportedProperty from apideck.model.supported_property_child_properties import SupportedPropertyChildProperties from apideck.model.tags import Tags @@ -441,11 +512,14 @@ from apideck.model.tax_rate import TaxRate from apideck.model.tax_rates_filter import TaxRatesFilter from apideck.model.tender import Tender +from apideck.model.ticket import Ticket +from apideck.model.tickets_sort import TicketsSort from apideck.model.time_off_request import TimeOffRequest from apideck.model.time_off_request_notes import TimeOffRequestNotes from apideck.model.time_off_requests_filter import TimeOffRequestsFilter from apideck.model.too_many_requests_response import TooManyRequestsResponse from apideck.model.too_many_requests_response_detail import TooManyRequestsResponseDetail +from apideck.model.tracking_item import TrackingItem from apideck.model.unauthorized_response import UnauthorizedResponse from apideck.model.unexpected_error_response import UnexpectedErrorResponse from apideck.model.unified_api_id import UnifiedApiId @@ -454,8 +528,11 @@ from apideck.model.unprocessable_response import UnprocessableResponse from apideck.model.update_activity_response import UpdateActivityResponse from apideck.model.update_bill_response import UpdateBillResponse +from apideck.model.update_comment_response import UpdateCommentResponse from apideck.model.update_company_response import UpdateCompanyResponse from apideck.model.update_connection_response import UpdateConnectionResponse +from apideck.model.update_consumer_request import UpdateConsumerRequest +from apideck.model.update_consumer_response import UpdateConsumerResponse from apideck.model.update_contact_response import UpdateContactResponse from apideck.model.update_credit_note_response import UpdateCreditNoteResponse from apideck.model.update_customer_response import UpdateCustomerResponse @@ -463,7 +540,10 @@ from apideck.model.update_department_response import UpdateDepartmentResponse from apideck.model.update_drive_group_response import UpdateDriveGroupResponse from apideck.model.update_drive_response import UpdateDriveResponse +from apideck.model.update_ecommerce_customer_response import UpdateEcommerceCustomerResponse +from apideck.model.update_ecommerce_order_response import UpdateEcommerceOrderResponse from apideck.model.update_employee_response import UpdateEmployeeResponse +from apideck.model.update_file_request import UpdateFileRequest from apideck.model.update_file_response import UpdateFileResponse from apideck.model.update_folder_request import UpdateFolderRequest from apideck.model.update_folder_response import UpdateFolderResponse @@ -472,6 +552,7 @@ from apideck.model.update_invoice_response import UpdateInvoiceResponse from apideck.model.update_item_response import UpdateItemResponse from apideck.model.update_job_response import UpdateJobResponse +from apideck.model.update_journal_entry_response import UpdateJournalEntryResponse from apideck.model.update_lead_response import UpdateLeadResponse from apideck.model.update_ledger_account_response import UpdateLedgerAccountResponse from apideck.model.update_location_response import UpdateLocationResponse @@ -486,10 +567,12 @@ from apideck.model.update_payment_response import UpdatePaymentResponse from apideck.model.update_pipeline_response import UpdatePipelineResponse from apideck.model.update_pos_payment_response import UpdatePosPaymentResponse +from apideck.model.update_product_response import UpdateProductResponse from apideck.model.update_shared_link_response import UpdateSharedLinkResponse from apideck.model.update_supplier_response import UpdateSupplierResponse from apideck.model.update_tax_rate_response import UpdateTaxRateResponse from apideck.model.update_tender_response import UpdateTenderResponse +from apideck.model.update_ticket_response import UpdateTicketResponse from apideck.model.update_time_off_request_response import UpdateTimeOffRequestResponse from apideck.model.update_upload_session_response import UpdateUploadSessionResponse from apideck.model.update_user_response import UpdateUserResponse diff --git a/src/apideck/rest.py b/src/apideck/rest.py index 181d7294f..897fa50aa 100644 --- a/src/apideck/rest.py +++ b/src/apideck/rest.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/setup.py b/src/setup.py index 478b0544d..cfebc93b6 100644 --- a/src/setup.py +++ b/src/setup.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -11,7 +11,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "apideck" -VERSION = "0.0.2" +VERSION = "0.0.3" # To install the library, run the following # # python setup.py install diff --git a/src/test/test_accounting_api.py b/src/test/test_accounting_api.py index 47160ef0d..6a808dbf3 100644 --- a/src/test/test_accounting_api.py +++ b/src/test/test_accounting_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -212,6 +212,41 @@ def test_invoices_update(self): """ pass + def test_journal_entries_add(self): + """Test case for journal_entries_add + + Create Journal Entry # noqa: E501 + """ + pass + + def test_journal_entries_all(self): + """Test case for journal_entries_all + + List Journal Entries # noqa: E501 + """ + pass + + def test_journal_entries_delete(self): + """Test case for journal_entries_delete + + Delete Journal Entry # noqa: E501 + """ + pass + + def test_journal_entries_one(self): + """Test case for journal_entries_one + + Get Journal Entry # noqa: E501 + """ + pass + + def test_journal_entries_update(self): + """Test case for journal_entries_update + + Update Journal Entry # noqa: E501 + """ + pass + def test_ledger_accounts_add(self): """Test case for ledger_accounts_add diff --git a/src/test/test_accounting_customer.py b/src/test/test_accounting_customer.py index f2d78c957..82130e6e5 100644 --- a/src/test/test_accounting_customer.py +++ b/src/test/test_accounting_customer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -16,6 +16,8 @@ from apideck.model.bank_account import BankAccount from apideck.model.currency import Currency from apideck.model.email import Email +from apideck.model.linked_ledger_account import LinkedLedgerAccount +from apideck.model.linked_parent_customer import LinkedParentCustomer from apideck.model.linked_tax_rate import LinkedTaxRate from apideck.model.phone_number import PhoneNumber from apideck.model.website import Website @@ -23,6 +25,8 @@ globals()['BankAccount'] = BankAccount globals()['Currency'] = Currency globals()['Email'] = Email +globals()['LinkedLedgerAccount'] = LinkedLedgerAccount +globals()['LinkedParentCustomer'] = LinkedParentCustomer globals()['LinkedTaxRate'] = LinkedTaxRate globals()['PhoneNumber'] = PhoneNumber globals()['Website'] = Website diff --git a/src/test/test_accounting_event_type.py b/src/test/test_accounting_event_type.py index 4f4df82fa..4bb0073e6 100644 --- a/src/test/test_accounting_event_type.py +++ b/src/test/test_accounting_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_activities_filter.py b/src/test/test_activities_filter.py new file mode 100644 index 000000000..371cba45c --- /dev/null +++ b/src/test/test_activities_filter.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.activities_filter import ActivitiesFilter + + +class TestActivitiesFilter(unittest.TestCase): + """ActivitiesFilter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testActivitiesFilter(self): + """Test ActivitiesFilter""" + # FIXME: construct object with mandatory attributes with example values + # model = ActivitiesFilter() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_activity.py b/src/test/test_activity.py index 961fe15a0..872473f1f 100644 --- a/src/test/test_activity.py +++ b/src/test/test_activity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_activity_attendee.py b/src/test/test_activity_attendee.py index 75643e58c..abbc93a8a 100644 --- a/src/test/test_activity_attendee.py +++ b/src/test/test_activity_attendee.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_address.py b/src/test/test_address.py index 576b9120b..4922dc57f 100644 --- a/src/test/test_address.py +++ b/src/test/test_address.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_api.py b/src/test/test_api.py index 56a4a4347..4c25d699e 100644 --- a/src/test/test_api.py +++ b/src/test/test_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_api_resource.py b/src/test/test_api_resource.py index 40e58188d..3c5447cb1 100644 --- a/src/test/test_api_resource.py +++ b/src/test/test_api_resource.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_api_resource_coverage.py b/src/test/test_api_resource_coverage.py index 8d11c7f7a..822282ed0 100644 --- a/src/test/test_api_resource_coverage.py +++ b/src/test/test_api_resource_coverage.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_api_resource_coverage_coverage.py b/src/test/test_api_resource_coverage_coverage.py index 1180b82a1..399482317 100644 --- a/src/test/test_api_resource_coverage_coverage.py +++ b/src/test/test_api_resource_coverage_coverage.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_api_resource_linked_resources.py b/src/test/test_api_resource_linked_resources.py index 154040066..4f94fd1a7 100644 --- a/src/test/test_api_resource_linked_resources.py +++ b/src/test/test_api_resource_linked_resources.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_api_resources.py b/src/test/test_api_resources.py index 93a570310..e8e31cec5 100644 --- a/src/test/test_api_resources.py +++ b/src/test/test_api_resources.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_api_status.py b/src/test/test_api_status.py index 4d4c59ff6..dc95f7c8a 100644 --- a/src/test/test_api_status.py +++ b/src/test/test_api_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_apis_filter.py b/src/test/test_apis_filter.py index fff14bfbc..71b0b307a 100644 --- a/src/test/test_apis_filter.py +++ b/src/test/test_apis_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_applicant.py b/src/test/test_applicant.py index f486ef719..b1a0a6f40 100644 --- a/src/test/test_applicant.py +++ b/src/test/test_applicant.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_applicant_social_links.py b/src/test/test_applicant_social_links.py index 6d7a1b6e1..324715296 100644 --- a/src/test/test_applicant_social_links.py +++ b/src/test/test_applicant_social_links.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_applicant_websites.py b/src/test/test_applicant_websites.py index 8bda48cc2..7ef450818 100644 --- a/src/test/test_applicant_websites.py +++ b/src/test/test_applicant_websites.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_applicants_filter.py b/src/test/test_applicants_filter.py index fed04ef9c..da5578ccd 100644 --- a/src/test/test_applicants_filter.py +++ b/src/test/test_applicants_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_passthrough.py b/src/test/test_assignee.py similarity index 57% rename from src/test/test_passthrough.py rename to src/test/test_assignee.py index 0d5e9e000..98fd7c832 100644 --- a/src/test/test_passthrough.py +++ b/src/test/test_assignee.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -12,11 +12,11 @@ import unittest import apideck -from apideck.model.passthrough import Passthrough +from apideck.model.assignee import Assignee -class TestPassthrough(unittest.TestCase): - """Passthrough unit test stubs""" +class TestAssignee(unittest.TestCase): + """Assignee unit test stubs""" def setUp(self): pass @@ -24,10 +24,10 @@ def setUp(self): def tearDown(self): pass - def testPassthrough(self): - """Test Passthrough""" + def testAssignee(self): + """Test Assignee""" # FIXME: construct object with mandatory attributes with example values - # model = Passthrough() # noqa: E501 + # model = Assignee() # noqa: E501 pass diff --git a/src/test/test_ats_activity.py b/src/test/test_ats_activity.py index 91eea1a5d..bc5fd29a8 100644 --- a/src/test/test_ats_activity.py +++ b/src/test/test_ats_activity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ats_api.py b/src/test/test_ats_api.py index 7abe0c651..0a5f4dc5e 100644 --- a/src/test/test_ats_api.py +++ b/src/test/test_ats_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ats_event_type.py b/src/test/test_ats_event_type.py index 33f5717cd..0b9c43c33 100644 --- a/src/test/test_ats_event_type.py +++ b/src/test/test_ats_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_auth_type.py b/src/test/test_auth_type.py index fa658da2b..b77d91ae6 100644 --- a/src/test/test_auth_type.py +++ b/src/test/test_auth_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_bad_request_response.py b/src/test/test_bad_request_response.py index 6780a8fca..12c32bc0d 100644 --- a/src/test/test_bad_request_response.py +++ b/src/test/test_bad_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet.py b/src/test/test_balance_sheet.py index 14d6da7ef..3e14ca011 100644 --- a/src/test/test_balance_sheet.py +++ b/src/test/test_balance_sheet.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_assets.py b/src/test/test_balance_sheet_assets.py index dd9e8a65b..199e2a7d6 100644 --- a/src/test/test_balance_sheet_assets.py +++ b/src/test/test_balance_sheet_assets.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_assets_current_assets.py b/src/test/test_balance_sheet_assets_current_assets.py index 4813c6cb7..17f5e9817 100644 --- a/src/test/test_balance_sheet_assets_current_assets.py +++ b/src/test/test_balance_sheet_assets_current_assets.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_assets_current_assets_accounts.py b/src/test/test_balance_sheet_assets_current_assets_accounts.py index b7a6ac260..140123824 100644 --- a/src/test/test_balance_sheet_assets_current_assets_accounts.py +++ b/src/test/test_balance_sheet_assets_current_assets_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_assets_fixed_assets.py b/src/test/test_balance_sheet_assets_fixed_assets.py index 3f909e4e1..8ca106860 100644 --- a/src/test/test_balance_sheet_assets_fixed_assets.py +++ b/src/test/test_balance_sheet_assets_fixed_assets.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_assets_fixed_assets_accounts.py b/src/test/test_balance_sheet_assets_fixed_assets_accounts.py index ed4ae86e3..686b010bf 100644 --- a/src/test/test_balance_sheet_assets_fixed_assets_accounts.py +++ b/src/test/test_balance_sheet_assets_fixed_assets_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_equity.py b/src/test/test_balance_sheet_equity.py index fc19ec3e8..3022566bc 100644 --- a/src/test/test_balance_sheet_equity.py +++ b/src/test/test_balance_sheet_equity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_equity_items.py b/src/test/test_balance_sheet_equity_items.py index e5bbb6721..7766107b4 100644 --- a/src/test/test_balance_sheet_equity_items.py +++ b/src/test/test_balance_sheet_equity_items.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_filter.py b/src/test/test_balance_sheet_filter.py index beda53d04..6770c1889 100644 --- a/src/test/test_balance_sheet_filter.py +++ b/src/test/test_balance_sheet_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_liabilities.py b/src/test/test_balance_sheet_liabilities.py index 3bcb16bf7..c76b5e5b6 100644 --- a/src/test/test_balance_sheet_liabilities.py +++ b/src/test/test_balance_sheet_liabilities.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_balance_sheet_liabilities_accounts.py b/src/test/test_balance_sheet_liabilities_accounts.py index 2d0c918cb..79e94099d 100644 --- a/src/test/test_balance_sheet_liabilities_accounts.py +++ b/src/test/test_balance_sheet_liabilities_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_bank_account.py b/src/test/test_bank_account.py index 65bf0ec9f..d2daf105c 100644 --- a/src/test/test_bank_account.py +++ b/src/test/test_bank_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_benefit.py b/src/test/test_benefit.py index 8d99eb2fa..1113aeff1 100644 --- a/src/test/test_benefit.py +++ b/src/test/test_benefit.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_bill.py b/src/test/test_bill.py index 6a1a3094c..562b71ce2 100644 --- a/src/test/test_bill.py +++ b/src/test/test_bill.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_bill_line_item.py b/src/test/test_bill_line_item.py index 59a7a4c39..39ed70991 100644 --- a/src/test/test_bill_line_item.py +++ b/src/test/test_bill_line_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_bills_sort.py b/src/test/test_bills_sort.py new file mode 100644 index 000000000..1d4884eb0 --- /dev/null +++ b/src/test/test_bills_sort.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.sort_direction import SortDirection +globals()['SortDirection'] = SortDirection +from apideck.model.bills_sort import BillsSort + + +class TestBillsSort(unittest.TestCase): + """BillsSort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testBillsSort(self): + """Test BillsSort""" + # FIXME: construct object with mandatory attributes with example values + # model = BillsSort() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_branch.py b/src/test/test_branch.py index 7dede55ff..5e54e7390 100644 --- a/src/test/test_branch.py +++ b/src/test/test_branch.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_cash_details.py b/src/test/test_cash_details.py index 892bbf940..ca525a824 100644 --- a/src/test/test_cash_details.py +++ b/src/test/test_cash_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_collection.py b/src/test/test_collection.py new file mode 100644 index 000000000..b63f269b5 --- /dev/null +++ b/src/test/test_collection.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection import Collection + + +class TestCollection(unittest.TestCase): + """Collection unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCollection(self): + """Test Collection""" + # FIXME: construct object with mandatory attributes with example values + # model = Collection() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_collection_tag.py b/src/test/test_collection_tag.py new file mode 100644 index 000000000..ac5bb2caa --- /dev/null +++ b/src/test/test_collection_tag.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_tag import CollectionTag + + +class TestCollectionTag(unittest.TestCase): + """CollectionTag unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCollectionTag(self): + """Test CollectionTag""" + # FIXME: construct object with mandatory attributes with example values + # model = CollectionTag() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_collection_ticket_comment.py b/src/test/test_collection_ticket_comment.py new file mode 100644 index 000000000..18b9a5d3a --- /dev/null +++ b/src/test/test_collection_ticket_comment.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_ticket_comment import CollectionTicketComment + + +class TestCollectionTicketComment(unittest.TestCase): + """CollectionTicketComment unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCollectionTicketComment(self): + """Test CollectionTicketComment""" + # FIXME: construct object with mandatory attributes with example values + # model = CollectionTicketComment() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_collection_user.py b/src/test/test_collection_user.py new file mode 100644 index 000000000..79cef1ceb --- /dev/null +++ b/src/test/test_collection_user.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_user import CollectionUser + + +class TestCollectionUser(unittest.TestCase): + """CollectionUser unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCollectionUser(self): + """Test CollectionUser""" + # FIXME: construct object with mandatory attributes with example values + # model = CollectionUser() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_collections_sort.py b/src/test/test_collections_sort.py new file mode 100644 index 000000000..65a09ba20 --- /dev/null +++ b/src/test/test_collections_sort.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.sort_direction import SortDirection +globals()['SortDirection'] = SortDirection +from apideck.model.collections_sort import CollectionsSort + + +class TestCollectionsSort(unittest.TestCase): + """CollectionsSort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCollectionsSort(self): + """Test CollectionsSort""" + # FIXME: construct object with mandatory attributes with example values + # model = CollectionsSort() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_comments_sort.py b/src/test/test_comments_sort.py new file mode 100644 index 000000000..fca2cf163 --- /dev/null +++ b/src/test/test_comments_sort.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.sort_direction import SortDirection +globals()['SortDirection'] = SortDirection +from apideck.model.comments_sort import CommentsSort + + +class TestCommentsSort(unittest.TestCase): + """CommentsSort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCommentsSort(self): + """Test CommentsSort""" + # FIXME: construct object with mandatory attributes with example values + # model = CommentsSort() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_companies_filter.py b/src/test/test_companies_filter.py index 03d4953f7..2b422cb45 100644 --- a/src/test/test_companies_filter.py +++ b/src/test/test_companies_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_companies_sort.py b/src/test/test_companies_sort.py index d87bfd812..3c07912e8 100644 --- a/src/test/test_companies_sort.py +++ b/src/test/test_companies_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_company.py b/src/test/test_company.py index caedfb885..6a6563950 100644 --- a/src/test/test_company.py +++ b/src/test/test_company.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_company_info.py b/src/test/test_company_info.py index cf3437e9a..fee6af810 100644 --- a/src/test/test_company_info.py +++ b/src/test/test_company_info.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_company_row_type.py b/src/test/test_company_row_type.py index ca386ab4a..daaf44d52 100644 --- a/src/test/test_company_row_type.py +++ b/src/test/test_company_row_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_compensation.py b/src/test/test_compensation.py index 82c15861f..3fa561593 100644 --- a/src/test/test_compensation.py +++ b/src/test/test_compensation.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connection.py b/src/test/test_connection.py index 686659cb7..c05fc9675 100644 --- a/src/test/test_connection.py +++ b/src/test/test_connection.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -16,12 +16,14 @@ from apideck.model.connection_configuration import ConnectionConfiguration from apideck.model.connection_state import ConnectionState from apideck.model.form_field import FormField +from apideck.model.integration_state import IntegrationState from apideck.model.o_auth_grant_type import OAuthGrantType from apideck.model.webhook_subscription import WebhookSubscription globals()['AuthType'] = AuthType globals()['ConnectionConfiguration'] = ConnectionConfiguration globals()['ConnectionState'] = ConnectionState globals()['FormField'] = FormField +globals()['IntegrationState'] = IntegrationState globals()['OAuthGrantType'] = OAuthGrantType globals()['WebhookSubscription'] = WebhookSubscription from apideck.model.connection import Connection diff --git a/src/test/test_connection_configuration.py b/src/test/test_connection_configuration.py index f0250926e..54282582e 100644 --- a/src/test/test_connection_configuration.py +++ b/src/test/test_connection_configuration.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connection_defaults.py b/src/test/test_connection_defaults.py index a9ddcb9b3..783ca2660 100644 --- a/src/test/test_connection_defaults.py +++ b/src/test/test_connection_defaults.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connection_import_data.py b/src/test/test_connection_import_data.py index 57c3464b9..237ac44a1 100644 --- a/src/test/test_connection_import_data.py +++ b/src/test/test_connection_import_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connection_import_data_credentials.py b/src/test/test_connection_import_data_credentials.py index 91f7ff3db..d7000a33f 100644 --- a/src/test/test_connection_import_data_credentials.py +++ b/src/test/test_connection_import_data_credentials.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connection_metadata.py b/src/test/test_connection_metadata.py index 2469f7fa3..26c4dfcc6 100644 --- a/src/test/test_connection_metadata.py +++ b/src/test/test_connection_metadata.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connection_state.py b/src/test/test_connection_state.py index b1aab4a25..2924d7a65 100644 --- a/src/test/test_connection_state.py +++ b/src/test/test_connection_state.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connection_webhook.py b/src/test/test_connection_webhook.py index da5278b2e..de4139e61 100644 --- a/src/test/test_connection_webhook.py +++ b/src/test/test_connection_webhook.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector.py b/src/test/test_connector.py index 2a5985b28..980a3bf76 100644 --- a/src/test/test_connector.py +++ b/src/test/test_connector.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_api.py b/src/test/test_connector_api.py index 20b3dc996..90e0e6b5a 100644 --- a/src/test/test_connector_api.py +++ b/src/test/test_connector_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_doc.py b/src/test/test_connector_doc.py index 1f04e3d08..ed2fd9202 100644 --- a/src/test/test_connector_doc.py +++ b/src/test/test_connector_doc.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_event.py b/src/test/test_connector_event.py index f8938a168..084a51498 100644 --- a/src/test/test_connector_event.py +++ b/src/test/test_connector_event.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_oauth_scopes.py b/src/test/test_connector_oauth_scopes.py index f5551266e..e353e8132 100644 --- a/src/test/test_connector_oauth_scopes.py +++ b/src/test/test_connector_oauth_scopes.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_oauth_scopes1.py b/src/test/test_connector_oauth_scopes1.py index 2a4b5662e..6210bec27 100644 --- a/src/test/test_connector_oauth_scopes1.py +++ b/src/test/test_connector_oauth_scopes1.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_resource.py b/src/test/test_connector_resource.py index 2eb818273..c555092b0 100644 --- a/src/test/test_connector_resource.py +++ b/src/test/test_connector_resource.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_setting.py b/src/test/test_connector_setting.py index b165c0dda..787d380d2 100644 --- a/src/test/test_connector_setting.py +++ b/src/test/test_connector_setting.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_status.py b/src/test/test_connector_status.py index 62edd756c..6e3f94b37 100644 --- a/src/test/test_connector_status.py +++ b/src/test/test_connector_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_tls_support.py b/src/test/test_connector_tls_support.py index 69226a5a7..c447bbe1b 100644 --- a/src/test/test_connector_tls_support.py +++ b/src/test/test_connector_tls_support.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connector_unified_apis.py b/src/test/test_connector_unified_apis.py index 9f3eee436..de193744f 100644 --- a/src/test/test_connector_unified_apis.py +++ b/src/test/test_connector_unified_apis.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_connectors_filter.py b/src/test/test_connectors_filter.py index ccf90e98f..85c40194f 100644 --- a/src/test/test_connectors_filter.py +++ b/src/test/test_connectors_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_consumer.py b/src/test/test_consumer.py index 474e0ab08..b59deda2f 100644 --- a/src/test/test_consumer.py +++ b/src/test/test_consumer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_consumer_connection.py b/src/test/test_consumer_connection.py index c916c623a..683538651 100644 --- a/src/test/test_consumer_connection.py +++ b/src/test/test_consumer_connection.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_consumer_metadata.py b/src/test/test_consumer_metadata.py index d8e97db7a..8c11c2e16 100644 --- a/src/test/test_consumer_metadata.py +++ b/src/test/test_consumer_metadata.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_consumer_request_counts_in_date_range_response.py b/src/test/test_consumer_request_counts_in_date_range_response.py index bf34da757..a11a701ce 100644 --- a/src/test/test_consumer_request_counts_in_date_range_response.py +++ b/src/test/test_consumer_request_counts_in_date_range_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_consumer_request_counts_in_date_range_response_data.py b/src/test/test_consumer_request_counts_in_date_range_response_data.py index 48d42a0ed..51b0c02b0 100644 --- a/src/test/test_consumer_request_counts_in_date_range_response_data.py +++ b/src/test/test_consumer_request_counts_in_date_range_response_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_contact.py b/src/test/test_contact.py index 80bc12b53..cf51bc787 100644 --- a/src/test/test_contact.py +++ b/src/test/test_contact.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_contacts_filter.py b/src/test/test_contacts_filter.py index 532629444..717150d57 100644 --- a/src/test/test_contacts_filter.py +++ b/src/test/test_contacts_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_contacts_sort.py b/src/test/test_contacts_sort.py index d700a7009..e81f92c88 100644 --- a/src/test/test_contacts_sort.py +++ b/src/test/test_contacts_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_copy_folder_request.py b/src/test/test_copy_folder_request.py index 2ef704a14..36e615aa5 100644 --- a/src/test/test_copy_folder_request.py +++ b/src/test/test_copy_folder_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_activity_response.py b/src/test/test_create_activity_response.py index 490baaf63..d629f88d1 100644 --- a/src/test/test_create_activity_response.py +++ b/src/test/test_create_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_applicant_response.py b/src/test/test_create_applicant_response.py index 9c9315581..a1ef97530 100644 --- a/src/test/test_create_applicant_response.py +++ b/src/test/test_create_applicant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_bill_response.py b/src/test/test_create_bill_response.py index 1c9a993cc..5fbbab462 100644 --- a/src/test/test_create_bill_response.py +++ b/src/test/test_create_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_comment_response.py b/src/test/test_create_comment_response.py new file mode 100644 index 000000000..ef82ca892 --- /dev/null +++ b/src/test/test_create_comment_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.create_comment_response import CreateCommentResponse + + +class TestCreateCommentResponse(unittest.TestCase): + """CreateCommentResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreateCommentResponse(self): + """Test CreateCommentResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = CreateCommentResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_create_company_response.py b/src/test/test_create_company_response.py index 66ea1d82b..c5a223cee 100644 --- a/src/test/test_create_company_response.py +++ b/src/test/test_create_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_connection_response.py b/src/test/test_create_connection_response.py index ad4dfd6d3..0a3d2d53d 100644 --- a/src/test/test_create_connection_response.py +++ b/src/test/test_create_connection_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_consumer_response.py b/src/test/test_create_consumer_response.py new file mode 100644 index 000000000..9d71f831b --- /dev/null +++ b/src/test/test_create_consumer_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.consumer import Consumer +globals()['Consumer'] = Consumer +from apideck.model.create_consumer_response import CreateConsumerResponse + + +class TestCreateConsumerResponse(unittest.TestCase): + """CreateConsumerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreateConsumerResponse(self): + """Test CreateConsumerResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = CreateConsumerResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_create_contact_response.py b/src/test/test_create_contact_response.py index d36246c34..07f29b0a6 100644 --- a/src/test/test_create_contact_response.py +++ b/src/test/test_create_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_credit_note_response.py b/src/test/test_create_credit_note_response.py index 27c437588..50efe0ccc 100644 --- a/src/test/test_create_credit_note_response.py +++ b/src/test/test_create_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_customer_response.py b/src/test/test_create_customer_response.py index 01d8e1aa8..b66997202 100644 --- a/src/test/test_create_customer_response.py +++ b/src/test/test_create_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_customer_support_customer_response.py b/src/test/test_create_customer_support_customer_response.py index cebb9c101..14113e7bf 100644 --- a/src/test/test_create_customer_support_customer_response.py +++ b/src/test/test_create_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_department_response.py b/src/test/test_create_department_response.py index 8a095c1c2..bc2b3450a 100644 --- a/src/test/test_create_department_response.py +++ b/src/test/test_create_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_drive_group_response.py b/src/test/test_create_drive_group_response.py index fe006c033..b50482553 100644 --- a/src/test/test_create_drive_group_response.py +++ b/src/test/test_create_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_drive_response.py b/src/test/test_create_drive_response.py index a824d3b9a..1414a4fd3 100644 --- a/src/test/test_create_drive_response.py +++ b/src/test/test_create_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_ecommerce_customer_response.py b/src/test/test_create_ecommerce_customer_response.py new file mode 100644 index 000000000..c50d30a4b --- /dev/null +++ b/src/test/test_create_ecommerce_customer_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.create_ecommerce_customer_response import CreateEcommerceCustomerResponse + + +class TestCreateEcommerceCustomerResponse(unittest.TestCase): + """CreateEcommerceCustomerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreateEcommerceCustomerResponse(self): + """Test CreateEcommerceCustomerResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = CreateEcommerceCustomerResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_create_ecommerce_order_response.py b/src/test/test_create_ecommerce_order_response.py new file mode 100644 index 000000000..53154288a --- /dev/null +++ b/src/test/test_create_ecommerce_order_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.create_ecommerce_order_response import CreateEcommerceOrderResponse + + +class TestCreateEcommerceOrderResponse(unittest.TestCase): + """CreateEcommerceOrderResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreateEcommerceOrderResponse(self): + """Test CreateEcommerceOrderResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = CreateEcommerceOrderResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_create_employee_response.py b/src/test/test_create_employee_response.py index f4e042c79..258811bec 100644 --- a/src/test/test_create_employee_response.py +++ b/src/test/test_create_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_file_request.py b/src/test/test_create_file_request.py index 8300162c8..261c92a6b 100644 --- a/src/test/test_create_file_request.py +++ b/src/test/test_create_file_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_file_response.py b/src/test/test_create_file_response.py index 96a4bb7d9..d3dcba7b3 100644 --- a/src/test/test_create_file_response.py +++ b/src/test/test_create_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_folder_request.py b/src/test/test_create_folder_request.py index 962dfd8b5..eb3990feb 100644 --- a/src/test/test_create_folder_request.py +++ b/src/test/test_create_folder_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_folder_response.py b/src/test/test_create_folder_response.py index 5c48afdd3..731760f81 100644 --- a/src/test/test_create_folder_response.py +++ b/src/test/test_create_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_hris_company_response.py b/src/test/test_create_hris_company_response.py index 16e2fd3a5..d782455eb 100644 --- a/src/test/test_create_hris_company_response.py +++ b/src/test/test_create_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_invoice_item_response.py b/src/test/test_create_invoice_item_response.py index 9e0952ff5..320bb4df7 100644 --- a/src/test/test_create_invoice_item_response.py +++ b/src/test/test_create_invoice_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_invoice_response.py b/src/test/test_create_invoice_response.py index 250d8deab..b3ae16d0e 100644 --- a/src/test/test_create_invoice_response.py +++ b/src/test/test_create_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_item_response.py b/src/test/test_create_item_response.py index a1b690a1e..6ae3856bd 100644 --- a/src/test/test_create_item_response.py +++ b/src/test/test_create_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_job_response.py b/src/test/test_create_job_response.py index 1f074e2d3..6e9aa4a05 100644 --- a/src/test/test_create_job_response.py +++ b/src/test/test_create_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_journal_entry_response.py b/src/test/test_create_journal_entry_response.py new file mode 100644 index 000000000..c1054feec --- /dev/null +++ b/src/test/test_create_journal_entry_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.create_journal_entry_response import CreateJournalEntryResponse + + +class TestCreateJournalEntryResponse(unittest.TestCase): + """CreateJournalEntryResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreateJournalEntryResponse(self): + """Test CreateJournalEntryResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = CreateJournalEntryResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_create_lead_response.py b/src/test/test_create_lead_response.py index 088554237..5c6b68e16 100644 --- a/src/test/test_create_lead_response.py +++ b/src/test/test_create_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_ledger_account_response.py b/src/test/test_create_ledger_account_response.py index 6b3904238..f2fe4df9e 100644 --- a/src/test/test_create_ledger_account_response.py +++ b/src/test/test_create_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_location_response.py b/src/test/test_create_location_response.py index 6a0e8a1b0..996f74064 100644 --- a/src/test/test_create_location_response.py +++ b/src/test/test_create_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_merchant_response.py b/src/test/test_create_merchant_response.py index 306369c86..4cae4d9c6 100644 --- a/src/test/test_create_merchant_response.py +++ b/src/test/test_create_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_message_response.py b/src/test/test_create_message_response.py index 5dd9ee9b8..da3a5bef2 100644 --- a/src/test/test_create_message_response.py +++ b/src/test/test_create_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_modifier_group_response.py b/src/test/test_create_modifier_group_response.py index f02678ba2..43e160c44 100644 --- a/src/test/test_create_modifier_group_response.py +++ b/src/test/test_create_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_modifier_response.py b/src/test/test_create_modifier_response.py index ab58c8ddd..05af0d661 100644 --- a/src/test/test_create_modifier_response.py +++ b/src/test/test_create_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_note_response.py b/src/test/test_create_note_response.py index 2ff98f263..9af908a63 100644 --- a/src/test/test_create_note_response.py +++ b/src/test/test_create_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_opportunity_response.py b/src/test/test_create_opportunity_response.py index 6f360f251..cbac84887 100644 --- a/src/test/test_create_opportunity_response.py +++ b/src/test/test_create_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_order_response.py b/src/test/test_create_order_response.py index def491883..c1c475bb8 100644 --- a/src/test/test_create_order_response.py +++ b/src/test/test_create_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_order_type_response.py b/src/test/test_create_order_type_response.py index b7c2df5e4..9e0bbbb92 100644 --- a/src/test/test_create_order_type_response.py +++ b/src/test/test_create_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_payment_response.py b/src/test/test_create_payment_response.py index 7911b98e1..ba1302d58 100644 --- a/src/test/test_create_payment_response.py +++ b/src/test/test_create_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_pipeline_response.py b/src/test/test_create_pipeline_response.py index f62480065..7a8ab96e2 100644 --- a/src/test/test_create_pipeline_response.py +++ b/src/test/test_create_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_pos_payment_response.py b/src/test/test_create_pos_payment_response.py index 152baf53f..3bfd2fd5a 100644 --- a/src/test/test_create_pos_payment_response.py +++ b/src/test/test_create_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_product_response.py b/src/test/test_create_product_response.py new file mode 100644 index 000000000..f8c1013e3 --- /dev/null +++ b/src/test/test_create_product_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.create_product_response import CreateProductResponse + + +class TestCreateProductResponse(unittest.TestCase): + """CreateProductResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreateProductResponse(self): + """Test CreateProductResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = CreateProductResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_create_session_response.py b/src/test/test_create_session_response.py index 973e42b1d..713d95685 100644 --- a/src/test/test_create_session_response.py +++ b/src/test/test_create_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_session_response_data.py b/src/test/test_create_session_response_data.py index 6640ee91c..a3c1742e1 100644 --- a/src/test/test_create_session_response_data.py +++ b/src/test/test_create_session_response_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_shared_link_response.py b/src/test/test_create_shared_link_response.py index b9612196f..ee405003d 100644 --- a/src/test/test_create_shared_link_response.py +++ b/src/test/test_create_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_supplier_response.py b/src/test/test_create_supplier_response.py index 07a1671e5..74b0914a4 100644 --- a/src/test/test_create_supplier_response.py +++ b/src/test/test_create_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_tax_rate_response.py b/src/test/test_create_tax_rate_response.py index 426600e7e..1fcc6cfd1 100644 --- a/src/test/test_create_tax_rate_response.py +++ b/src/test/test_create_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_tender_response.py b/src/test/test_create_tender_response.py index a32ea942b..e2220f005 100644 --- a/src/test/test_create_tender_response.py +++ b/src/test/test_create_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_ticket_response.py b/src/test/test_create_ticket_response.py new file mode 100644 index 000000000..4e10f0bf3 --- /dev/null +++ b/src/test/test_create_ticket_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.create_ticket_response import CreateTicketResponse + + +class TestCreateTicketResponse(unittest.TestCase): + """CreateTicketResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testCreateTicketResponse(self): + """Test CreateTicketResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = CreateTicketResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_create_time_off_request_response.py b/src/test/test_create_time_off_request_response.py index ccc7f6b0e..0f9474508 100644 --- a/src/test/test_create_time_off_request_response.py +++ b/src/test/test_create_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_upload_session_request.py b/src/test/test_create_upload_session_request.py index 1db35bbdb..14b99e014 100644 --- a/src/test/test_create_upload_session_request.py +++ b/src/test/test_create_upload_session_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_upload_session_response.py b/src/test/test_create_upload_session_response.py index 7a4bd4f83..7b7b05433 100644 --- a/src/test/test_create_upload_session_response.py +++ b/src/test/test_create_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_user_response.py b/src/test/test_create_user_response.py index 64dfe0464..483db2b17 100644 --- a/src/test/test_create_user_response.py +++ b/src/test/test_create_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_webhook_request.py b/src/test/test_create_webhook_request.py index 7448b8148..2b2cdcc82 100644 --- a/src/test/test_create_webhook_request.py +++ b/src/test/test_create_webhook_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_create_webhook_response.py b/src/test/test_create_webhook_response.py index 4c9e4e229..7868b0719 100644 --- a/src/test/test_create_webhook_response.py +++ b/src/test/test_create_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_credit_note.py b/src/test/test_credit_note.py index c4b060284..340529ca3 100644 --- a/src/test/test_credit_note.py +++ b/src/test/test_credit_note.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_crm_api.py b/src/test/test_crm_api.py index 7d199e7a1..ae119fc38 100644 --- a/src/test/test_crm_api.py +++ b/src/test/test_crm_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_crm_event_type.py b/src/test/test_crm_event_type.py index 8a11f988b..f244a31d3 100644 --- a/src/test/test_crm_event_type.py +++ b/src/test/test_crm_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_currency.py b/src/test/test_currency.py index 469f1ac56..04d292b9c 100644 --- a/src/test/test_currency.py +++ b/src/test/test_currency.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_custom_field.py b/src/test/test_custom_field.py index 865189d58..44930b8cd 100644 --- a/src/test/test_custom_field.py +++ b/src/test/test_custom_field.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_customer_support_api.py b/src/test/test_customer_support_api.py index cf72b97d0..29421a93e 100644 --- a/src/test/test_customer_support_api.py +++ b/src/test/test_customer_support_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_customer_support_customer.py b/src/test/test_customer_support_customer.py index ccfd04061..a8a47ec77 100644 --- a/src/test/test_customer_support_customer.py +++ b/src/test/test_customer_support_customer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_customers_filter.py b/src/test/test_customers_filter.py index 320fe16a1..a8ce7ee5d 100644 --- a/src/test/test_customers_filter.py +++ b/src/test/test_customers_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_deduction.py b/src/test/test_deduction.py index 648ad78c4..505bd0776 100644 --- a/src/test/test_deduction.py +++ b/src/test/test_deduction.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_activity_response.py b/src/test/test_delete_activity_response.py index 3400f0084..89e3f17c7 100644 --- a/src/test/test_delete_activity_response.py +++ b/src/test/test_delete_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_bill_response.py b/src/test/test_delete_bill_response.py index a31433c1f..34e72156c 100644 --- a/src/test/test_delete_bill_response.py +++ b/src/test/test_delete_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_comment_response.py b/src/test/test_delete_comment_response.py new file mode 100644 index 000000000..6bd122431 --- /dev/null +++ b/src/test/test_delete_comment_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.delete_comment_response import DeleteCommentResponse + + +class TestDeleteCommentResponse(unittest.TestCase): + """DeleteCommentResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeleteCommentResponse(self): + """Test DeleteCommentResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = DeleteCommentResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_delete_company_response.py b/src/test/test_delete_company_response.py index 68fa46893..1d928c7ce 100644 --- a/src/test/test_delete_company_response.py +++ b/src/test/test_delete_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_consumer_response.py b/src/test/test_delete_consumer_response.py new file mode 100644 index 000000000..d99348630 --- /dev/null +++ b/src/test/test_delete_consumer_response.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.delete_consumer_response import DeleteConsumerResponse + + +class TestDeleteConsumerResponse(unittest.TestCase): + """DeleteConsumerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeleteConsumerResponse(self): + """Test DeleteConsumerResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = DeleteConsumerResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_delete_contact_response.py b/src/test/test_delete_contact_response.py index 043af71c9..9ed1aa6fb 100644 --- a/src/test/test_delete_contact_response.py +++ b/src/test/test_delete_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_credit_note_response.py b/src/test/test_delete_credit_note_response.py index 0504cb81a..61c14e5e6 100644 --- a/src/test/test_delete_credit_note_response.py +++ b/src/test/test_delete_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_customer_response.py b/src/test/test_delete_customer_response.py index 2e6288c0c..81d8ce6c6 100644 --- a/src/test/test_delete_customer_response.py +++ b/src/test/test_delete_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_customer_support_customer_response.py b/src/test/test_delete_customer_support_customer_response.py index a3ea5ac16..082659c76 100644 --- a/src/test/test_delete_customer_support_customer_response.py +++ b/src/test/test_delete_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_department_response.py b/src/test/test_delete_department_response.py index 4c32ceb5a..01ed07a6a 100644 --- a/src/test/test_delete_department_response.py +++ b/src/test/test_delete_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_drive_group_response.py b/src/test/test_delete_drive_group_response.py index 64d05a953..1f0b5022b 100644 --- a/src/test/test_delete_drive_group_response.py +++ b/src/test/test_delete_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_drive_response.py b/src/test/test_delete_drive_response.py index 9ef333686..ceaafe3e1 100644 --- a/src/test/test_delete_drive_response.py +++ b/src/test/test_delete_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_ecommerce_customer_response.py b/src/test/test_delete_ecommerce_customer_response.py new file mode 100644 index 000000000..3d43b3cf7 --- /dev/null +++ b/src/test/test_delete_ecommerce_customer_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.delete_ecommerce_customer_response import DeleteEcommerceCustomerResponse + + +class TestDeleteEcommerceCustomerResponse(unittest.TestCase): + """DeleteEcommerceCustomerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeleteEcommerceCustomerResponse(self): + """Test DeleteEcommerceCustomerResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = DeleteEcommerceCustomerResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_delete_ecommerce_order_response.py b/src/test/test_delete_ecommerce_order_response.py new file mode 100644 index 000000000..3c2ff0504 --- /dev/null +++ b/src/test/test_delete_ecommerce_order_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.delete_ecommerce_order_response import DeleteEcommerceOrderResponse + + +class TestDeleteEcommerceOrderResponse(unittest.TestCase): + """DeleteEcommerceOrderResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeleteEcommerceOrderResponse(self): + """Test DeleteEcommerceOrderResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = DeleteEcommerceOrderResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_delete_employee_response.py b/src/test/test_delete_employee_response.py index 9adc771a6..217f991c1 100644 --- a/src/test/test_delete_employee_response.py +++ b/src/test/test_delete_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_file_response.py b/src/test/test_delete_file_response.py index 920ced1ba..c1fbb48f4 100644 --- a/src/test/test_delete_file_response.py +++ b/src/test/test_delete_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_folder_response.py b/src/test/test_delete_folder_response.py index 194e28aa1..25dad45eb 100644 --- a/src/test/test_delete_folder_response.py +++ b/src/test/test_delete_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_hris_company_response.py b/src/test/test_delete_hris_company_response.py index 35eed964a..ac2ec6b0b 100644 --- a/src/test/test_delete_hris_company_response.py +++ b/src/test/test_delete_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_invoice_item_response.py b/src/test/test_delete_invoice_item_response.py index 6f97a3bc4..664db23d8 100644 --- a/src/test/test_delete_invoice_item_response.py +++ b/src/test/test_delete_invoice_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_invoice_response.py b/src/test/test_delete_invoice_response.py index 32e0aef2e..9b0890192 100644 --- a/src/test/test_delete_invoice_response.py +++ b/src/test/test_delete_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_item_response.py b/src/test/test_delete_item_response.py index 811b68eeb..b9c7a1b07 100644 --- a/src/test/test_delete_item_response.py +++ b/src/test/test_delete_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_job_response.py b/src/test/test_delete_job_response.py index 4c436b3ee..1afc71d7d 100644 --- a/src/test/test_delete_job_response.py +++ b/src/test/test_delete_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_journal_entry_response.py b/src/test/test_delete_journal_entry_response.py new file mode 100644 index 000000000..19799cf23 --- /dev/null +++ b/src/test/test_delete_journal_entry_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.delete_journal_entry_response import DeleteJournalEntryResponse + + +class TestDeleteJournalEntryResponse(unittest.TestCase): + """DeleteJournalEntryResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeleteJournalEntryResponse(self): + """Test DeleteJournalEntryResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = DeleteJournalEntryResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_delete_lead_response.py b/src/test/test_delete_lead_response.py index e79d7d8b4..be0971573 100644 --- a/src/test/test_delete_lead_response.py +++ b/src/test/test_delete_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_ledger_account_response.py b/src/test/test_delete_ledger_account_response.py index 1b7a1eb46..7b394efa8 100644 --- a/src/test/test_delete_ledger_account_response.py +++ b/src/test/test_delete_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_location_response.py b/src/test/test_delete_location_response.py index f52a35571..8e109a000 100644 --- a/src/test/test_delete_location_response.py +++ b/src/test/test_delete_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_merchant_response.py b/src/test/test_delete_merchant_response.py index c9b42b308..d5e376fb2 100644 --- a/src/test/test_delete_merchant_response.py +++ b/src/test/test_delete_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_message_response.py b/src/test/test_delete_message_response.py index 0a90f9ac8..756fc9bf1 100644 --- a/src/test/test_delete_message_response.py +++ b/src/test/test_delete_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_modifier_group_response.py b/src/test/test_delete_modifier_group_response.py index dab4dfe1b..06b323d02 100644 --- a/src/test/test_delete_modifier_group_response.py +++ b/src/test/test_delete_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_modifier_response.py b/src/test/test_delete_modifier_response.py index 8ad52e4d1..ffaba9b8f 100644 --- a/src/test/test_delete_modifier_response.py +++ b/src/test/test_delete_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_note_response.py b/src/test/test_delete_note_response.py index fd4ef070f..ad03fe17d 100644 --- a/src/test/test_delete_note_response.py +++ b/src/test/test_delete_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_opportunity_response.py b/src/test/test_delete_opportunity_response.py index cb2e96eba..0e006411e 100644 --- a/src/test/test_delete_opportunity_response.py +++ b/src/test/test_delete_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_order_response.py b/src/test/test_delete_order_response.py index f4e13d6e3..f246cac83 100644 --- a/src/test/test_delete_order_response.py +++ b/src/test/test_delete_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_order_type_response.py b/src/test/test_delete_order_type_response.py index 41b0251b4..139409d05 100644 --- a/src/test/test_delete_order_type_response.py +++ b/src/test/test_delete_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_payment_response.py b/src/test/test_delete_payment_response.py index 53cc5dd5e..22dd0d200 100644 --- a/src/test/test_delete_payment_response.py +++ b/src/test/test_delete_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_pipeline_response.py b/src/test/test_delete_pipeline_response.py index efdc0abde..b6a533921 100644 --- a/src/test/test_delete_pipeline_response.py +++ b/src/test/test_delete_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_pos_payment_response.py b/src/test/test_delete_pos_payment_response.py index 6f8b0a157..236218cf3 100644 --- a/src/test/test_delete_pos_payment_response.py +++ b/src/test/test_delete_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_product_response.py b/src/test/test_delete_product_response.py new file mode 100644 index 000000000..9aa6781c3 --- /dev/null +++ b/src/test/test_delete_product_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.delete_product_response import DeleteProductResponse + + +class TestDeleteProductResponse(unittest.TestCase): + """DeleteProductResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeleteProductResponse(self): + """Test DeleteProductResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = DeleteProductResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_delete_shared_link_response.py b/src/test/test_delete_shared_link_response.py index 52dc325e2..e7b7cb4b9 100644 --- a/src/test/test_delete_shared_link_response.py +++ b/src/test/test_delete_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_supplier_response.py b/src/test/test_delete_supplier_response.py index 8707bdc6a..0a3f6d40e 100644 --- a/src/test/test_delete_supplier_response.py +++ b/src/test/test_delete_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_tax_rate_response.py b/src/test/test_delete_tax_rate_response.py index 533411a2f..a56e0ef9b 100644 --- a/src/test/test_delete_tax_rate_response.py +++ b/src/test/test_delete_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_tender_response.py b/src/test/test_delete_tender_response.py index f8f596898..0007cfd7a 100644 --- a/src/test/test_delete_tender_response.py +++ b/src/test/test_delete_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_ticket_response.py b/src/test/test_delete_ticket_response.py new file mode 100644 index 000000000..9cab977bc --- /dev/null +++ b/src/test/test_delete_ticket_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.delete_ticket_response import DeleteTicketResponse + + +class TestDeleteTicketResponse(unittest.TestCase): + """DeleteTicketResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testDeleteTicketResponse(self): + """Test DeleteTicketResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = DeleteTicketResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_delete_time_off_request_response.py b/src/test/test_delete_time_off_request_response.py index 789082bee..53e145585 100644 --- a/src/test/test_delete_time_off_request_response.py +++ b/src/test/test_delete_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_upload_session_response.py b/src/test/test_delete_upload_session_response.py index aa518e1bb..454f43bf0 100644 --- a/src/test/test_delete_upload_session_response.py +++ b/src/test/test_delete_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_user_response.py b/src/test/test_delete_user_response.py index 07857a41a..4a5a51846 100644 --- a/src/test/test_delete_user_response.py +++ b/src/test/test_delete_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delete_webhook_response.py b/src/test/test_delete_webhook_response.py index 0757d9f09..06b86e55e 100644 --- a/src/test/test_delete_webhook_response.py +++ b/src/test/test_delete_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_delivery_url.py b/src/test/test_delivery_url.py index dd8d60615..3f3b670ee 100644 --- a/src/test/test_delivery_url.py +++ b/src/test/test_delivery_url.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_department.py b/src/test/test_department.py index 5aa1bad89..ba0ec87e5 100644 --- a/src/test/test_department.py +++ b/src/test/test_department.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_drive.py b/src/test/test_drive.py index d275bd533..d5bd90eb3 100644 --- a/src/test/test_drive.py +++ b/src/test/test_drive.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_drive_group.py b/src/test/test_drive_group.py index c82a521c3..e5384e746 100644 --- a/src/test/test_drive_group.py +++ b/src/test/test_drive_group.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_drive_groups_filter.py b/src/test/test_drive_groups_filter.py index 3f30df906..f2ca5f5ab 100644 --- a/src/test/test_drive_groups_filter.py +++ b/src/test/test_drive_groups_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_drives_filter.py b/src/test/test_drives_filter.py index e3f89d10f..1ab40d9d3 100644 --- a/src/test/test_drives_filter.py +++ b/src/test/test_drives_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ecommerce_address.py b/src/test/test_ecommerce_address.py new file mode 100644 index 000000000..217a3e731 --- /dev/null +++ b/src/test/test_ecommerce_address.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_address import EcommerceAddress + + +class TestEcommerceAddress(unittest.TestCase): + """EcommerceAddress unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceAddress(self): + """Test EcommerceAddress""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceAddress() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_api.py b/src/test/test_ecommerce_api.py new file mode 100644 index 000000000..bd8b165ae --- /dev/null +++ b/src/test/test_ecommerce_api.py @@ -0,0 +1,77 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import unittest + +import apideck +from apideck.api.ecommerce_api import EcommerceApi # noqa: E501 + + +class TestEcommerceApi(unittest.TestCase): + """EcommerceApi unit test stubs""" + + def setUp(self): + self.api = EcommerceApi() # noqa: E501 + + def tearDown(self): + pass + + def test_customers_all2(self): + """Test case for customers_all2 + + List Customers # noqa: E501 + """ + pass + + def test_customers_one2(self): + """Test case for customers_one2 + + Get Customer # noqa: E501 + """ + pass + + def test_orders_all(self): + """Test case for orders_all + + List Orders # noqa: E501 + """ + pass + + def test_orders_one(self): + """Test case for orders_one + + Get Order # noqa: E501 + """ + pass + + def test_products_all(self): + """Test case for products_all + + List Products # noqa: E501 + """ + pass + + def test_products_one(self): + """Test case for products_one + + Get Product # noqa: E501 + """ + pass + + def test_stores_one(self): + """Test case for stores_one + + Get Store # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_customer.py b/src/test/test_ecommerce_customer.py new file mode 100644 index 000000000..7558d3953 --- /dev/null +++ b/src/test/test_ecommerce_customer.py @@ -0,0 +1,45 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.currency import Currency +from apideck.model.ecommerce_customer_addresses import EcommerceCustomerAddresses +from apideck.model.email import Email +from apideck.model.linked_ecommerce_order import LinkedEcommerceOrder +from apideck.model.phone_number import PhoneNumber +globals()['Currency'] = Currency +globals()['EcommerceCustomerAddresses'] = EcommerceCustomerAddresses +globals()['Email'] = Email +globals()['LinkedEcommerceOrder'] = LinkedEcommerceOrder +globals()['PhoneNumber'] = PhoneNumber +from apideck.model.ecommerce_customer import EcommerceCustomer + + +class TestEcommerceCustomer(unittest.TestCase): + """EcommerceCustomer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceCustomer(self): + """Test EcommerceCustomer""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceCustomer() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_customer_addresses.py b/src/test/test_ecommerce_customer_addresses.py new file mode 100644 index 000000000..de08c5854 --- /dev/null +++ b/src/test/test_ecommerce_customer_addresses.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_customer_addresses import EcommerceCustomerAddresses + + +class TestEcommerceCustomerAddresses(unittest.TestCase): + """EcommerceCustomerAddresses unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceCustomerAddresses(self): + """Test EcommerceCustomerAddresses""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceCustomerAddresses() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_customers_filter.py b/src/test/test_ecommerce_customers_filter.py new file mode 100644 index 000000000..e591b2eb1 --- /dev/null +++ b/src/test/test_ecommerce_customers_filter.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_customers_filter import EcommerceCustomersFilter + + +class TestEcommerceCustomersFilter(unittest.TestCase): + """EcommerceCustomersFilter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceCustomersFilter(self): + """Test EcommerceCustomersFilter""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceCustomersFilter() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_discount.py b/src/test/test_ecommerce_discount.py new file mode 100644 index 000000000..093990754 --- /dev/null +++ b/src/test/test_ecommerce_discount.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_discount import EcommerceDiscount + + +class TestEcommerceDiscount(unittest.TestCase): + """EcommerceDiscount unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceDiscount(self): + """Test EcommerceDiscount""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceDiscount() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_order.py b/src/test/test_ecommerce_order.py new file mode 100644 index 000000000..d9d312514 --- /dev/null +++ b/src/test/test_ecommerce_order.py @@ -0,0 +1,49 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.currency import Currency +from apideck.model.ecommerce_address import EcommerceAddress +from apideck.model.ecommerce_discount import EcommerceDiscount +from apideck.model.ecommerce_order_line_item import EcommerceOrderLineItem +from apideck.model.ecommerce_order_status import EcommerceOrderStatus +from apideck.model.linked_ecommerce_customer import LinkedEcommerceCustomer +from apideck.model.tracking_item import TrackingItem +globals()['Currency'] = Currency +globals()['EcommerceAddress'] = EcommerceAddress +globals()['EcommerceDiscount'] = EcommerceDiscount +globals()['EcommerceOrderLineItem'] = EcommerceOrderLineItem +globals()['EcommerceOrderStatus'] = EcommerceOrderStatus +globals()['LinkedEcommerceCustomer'] = LinkedEcommerceCustomer +globals()['TrackingItem'] = TrackingItem +from apideck.model.ecommerce_order import EcommerceOrder + + +class TestEcommerceOrder(unittest.TestCase): + """EcommerceOrder unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceOrder(self): + """Test EcommerceOrder""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceOrder() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_order_line_item.py b/src/test/test_ecommerce_order_line_item.py new file mode 100644 index 000000000..c4bf1edf5 --- /dev/null +++ b/src/test/test_ecommerce_order_line_item.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_discount import EcommerceDiscount +globals()['EcommerceDiscount'] = EcommerceDiscount +from apideck.model.ecommerce_order_line_item import EcommerceOrderLineItem + + +class TestEcommerceOrderLineItem(unittest.TestCase): + """EcommerceOrderLineItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceOrderLineItem(self): + """Test EcommerceOrderLineItem""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceOrderLineItem() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_order_status.py b/src/test/test_ecommerce_order_status.py new file mode 100644 index 000000000..39427abc3 --- /dev/null +++ b/src/test/test_ecommerce_order_status.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_order_status import EcommerceOrderStatus + + +class TestEcommerceOrderStatus(unittest.TestCase): + """EcommerceOrderStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceOrderStatus(self): + """Test EcommerceOrderStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceOrderStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_orders_filter.py b/src/test/test_ecommerce_orders_filter.py new file mode 100644 index 000000000..21f8fbb16 --- /dev/null +++ b/src/test/test_ecommerce_orders_filter.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_orders_filter import EcommerceOrdersFilter + + +class TestEcommerceOrdersFilter(unittest.TestCase): + """EcommerceOrdersFilter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceOrdersFilter(self): + """Test EcommerceOrdersFilter""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceOrdersFilter() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_product.py b/src/test/test_ecommerce_product.py new file mode 100644 index 000000000..4c6ae8703 --- /dev/null +++ b/src/test/test_ecommerce_product.py @@ -0,0 +1,43 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product_categories import EcommerceProductCategories +from apideck.model.ecommerce_product_images import EcommerceProductImages +from apideck.model.ecommerce_product_options import EcommerceProductOptions +from apideck.model.ecommerce_product_variants import EcommerceProductVariants +globals()['EcommerceProductCategories'] = EcommerceProductCategories +globals()['EcommerceProductImages'] = EcommerceProductImages +globals()['EcommerceProductOptions'] = EcommerceProductOptions +globals()['EcommerceProductVariants'] = EcommerceProductVariants +from apideck.model.ecommerce_product import EcommerceProduct + + +class TestEcommerceProduct(unittest.TestCase): + """EcommerceProduct unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceProduct(self): + """Test EcommerceProduct""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceProduct() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_product_categories.py b/src/test/test_ecommerce_product_categories.py new file mode 100644 index 000000000..6582d5a69 --- /dev/null +++ b/src/test/test_ecommerce_product_categories.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product_categories import EcommerceProductCategories + + +class TestEcommerceProductCategories(unittest.TestCase): + """EcommerceProductCategories unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceProductCategories(self): + """Test EcommerceProductCategories""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceProductCategories() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_product_images.py b/src/test/test_ecommerce_product_images.py new file mode 100644 index 000000000..78facbddc --- /dev/null +++ b/src/test/test_ecommerce_product_images.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product_images import EcommerceProductImages + + +class TestEcommerceProductImages(unittest.TestCase): + """EcommerceProductImages unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceProductImages(self): + """Test EcommerceProductImages""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceProductImages() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_product_images1.py b/src/test/test_ecommerce_product_images1.py new file mode 100644 index 000000000..3b3dcc367 --- /dev/null +++ b/src/test/test_ecommerce_product_images1.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product_images1 import EcommerceProductImages1 + + +class TestEcommerceProductImages1(unittest.TestCase): + """EcommerceProductImages1 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceProductImages1(self): + """Test EcommerceProductImages1""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceProductImages1() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_product_options.py b/src/test/test_ecommerce_product_options.py new file mode 100644 index 000000000..3e7ca73bd --- /dev/null +++ b/src/test/test_ecommerce_product_options.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product_options import EcommerceProductOptions + + +class TestEcommerceProductOptions(unittest.TestCase): + """EcommerceProductOptions unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceProductOptions(self): + """Test EcommerceProductOptions""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceProductOptions() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_product_options1.py b/src/test/test_ecommerce_product_options1.py new file mode 100644 index 000000000..93517a303 --- /dev/null +++ b/src/test/test_ecommerce_product_options1.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product_options1 import EcommerceProductOptions1 + + +class TestEcommerceProductOptions1(unittest.TestCase): + """EcommerceProductOptions1 unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceProductOptions1(self): + """Test EcommerceProductOptions1""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceProductOptions1() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_product_variants.py b/src/test/test_ecommerce_product_variants.py new file mode 100644 index 000000000..a51e08ac4 --- /dev/null +++ b/src/test/test_ecommerce_product_variants.py @@ -0,0 +1,39 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product_images1 import EcommerceProductImages1 +from apideck.model.ecommerce_product_options1 import EcommerceProductOptions1 +globals()['EcommerceProductImages1'] = EcommerceProductImages1 +globals()['EcommerceProductOptions1'] = EcommerceProductOptions1 +from apideck.model.ecommerce_product_variants import EcommerceProductVariants + + +class TestEcommerceProductVariants(unittest.TestCase): + """EcommerceProductVariants unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceProductVariants(self): + """Test EcommerceProductVariants""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceProductVariants() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_ecommerce_store.py b/src/test/test_ecommerce_store.py new file mode 100644 index 000000000..dfd8c2d13 --- /dev/null +++ b/src/test/test_ecommerce_store.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_store import EcommerceStore + + +class TestEcommerceStore(unittest.TestCase): + """EcommerceStore unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEcommerceStore(self): + """Test EcommerceStore""" + # FIXME: construct object with mandatory attributes with example values + # model = EcommerceStore() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_email.py b/src/test/test_email.py index 45eb895d5..22351b2ae 100644 --- a/src/test/test_email.py +++ b/src/test/test_email.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee.py b/src/test/test_employee.py index aef361a45..22a3b64a3 100644 --- a/src/test/test_employee.py +++ b/src/test/test_employee.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -20,9 +20,10 @@ from apideck.model.employee_employment_role import EmployeeEmploymentRole from apideck.model.employee_jobs import EmployeeJobs from apideck.model.employee_manager import EmployeeManager -from apideck.model.employee_partner import EmployeePartner from apideck.model.employee_team import EmployeeTeam +from apideck.model.employment_status import EmploymentStatus from apideck.model.gender import Gender +from apideck.model.person import Person from apideck.model.phone_number import PhoneNumber globals()['Address'] = Address globals()['ApplicantSocialLinks'] = ApplicantSocialLinks @@ -32,9 +33,10 @@ globals()['EmployeeEmploymentRole'] = EmployeeEmploymentRole globals()['EmployeeJobs'] = EmployeeJobs globals()['EmployeeManager'] = EmployeeManager -globals()['EmployeePartner'] = EmployeePartner globals()['EmployeeTeam'] = EmployeeTeam +globals()['EmploymentStatus'] = EmploymentStatus globals()['Gender'] = Gender +globals()['Person'] = Person globals()['PhoneNumber'] = PhoneNumber from apideck.model.employee import Employee diff --git a/src/test/test_employee_compensations.py b/src/test/test_employee_compensations.py index 9bfaaaed3..1959349da 100644 --- a/src/test/test_employee_compensations.py +++ b/src/test/test_employee_compensations.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee_employment_role.py b/src/test/test_employee_employment_role.py index 6bd133016..9f079daf4 100644 --- a/src/test/test_employee_employment_role.py +++ b/src/test/test_employee_employment_role.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee_jobs.py b/src/test/test_employee_jobs.py index bf535c348..6a40f978a 100644 --- a/src/test/test_employee_jobs.py +++ b/src/test/test_employee_jobs.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee_manager.py b/src/test/test_employee_manager.py index aad94d332..36b246c3e 100644 --- a/src/test/test_employee_manager.py +++ b/src/test/test_employee_manager.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -12,6 +12,8 @@ import unittest import apideck +from apideck.model.employment_status import EmploymentStatus +globals()['EmploymentStatus'] = EmploymentStatus from apideck.model.employee_manager import EmployeeManager diff --git a/src/test/test_employee_payroll.py b/src/test/test_employee_payroll.py index 8c27de1fb..355e2d855 100644 --- a/src/test/test_employee_payroll.py +++ b/src/test/test_employee_payroll.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee_payrolls.py b/src/test/test_employee_payrolls.py index f62795f98..dd43412b4 100644 --- a/src/test/test_employee_payrolls.py +++ b/src/test/test_employee_payrolls.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee_schedules.py b/src/test/test_employee_schedules.py index 1e5204ebd..56da5fc1f 100644 --- a/src/test/test_employee_schedules.py +++ b/src/test/test_employee_schedules.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee_team.py b/src/test/test_employee_team.py index b87ca6efd..565163e55 100644 --- a/src/test/test_employee_team.py +++ b/src/test/test_employee_team.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employees_filter.py b/src/test/test_employees_filter.py index 06a649595..b3ee079fb 100644 --- a/src/test/test_employees_filter.py +++ b/src/test/test_employees_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employees_sort.py b/src/test/test_employees_sort.py new file mode 100644 index 000000000..954a20e83 --- /dev/null +++ b/src/test/test_employees_sort.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.sort_direction import SortDirection +globals()['SortDirection'] = SortDirection +from apideck.model.employees_sort import EmployeesSort + + +class TestEmployeesSort(unittest.TestCase): + """EmployeesSort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEmployeesSort(self): + """Test EmployeesSort""" + # FIXME: construct object with mandatory attributes with example values + # model = EmployeesSort() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_employment_status.py b/src/test/test_employment_status.py new file mode 100644 index 000000000..810eb15d7 --- /dev/null +++ b/src/test/test_employment_status.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.employment_status import EmploymentStatus + + +class TestEmploymentStatus(unittest.TestCase): + """EmploymentStatus unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testEmploymentStatus(self): + """Test EmploymentStatus""" + # FIXME: construct object with mandatory attributes with example values + # model = EmploymentStatus() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_error.py b/src/test/test_error.py index aca7d2c24..a6a7d5cdb 100644 --- a/src/test/test_error.py +++ b/src/test/test_error.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_execute_base_url.py b/src/test/test_execute_base_url.py index 6caf02286..a87d8393a 100644 --- a/src/test/test_execute_base_url.py +++ b/src/test/test_execute_base_url.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_execute_webhook_event_request.py b/src/test/test_execute_webhook_event_request.py index e4c60c303..371197a0c 100644 --- a/src/test/test_execute_webhook_event_request.py +++ b/src/test/test_execute_webhook_event_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_execute_webhook_events_request.py b/src/test/test_execute_webhook_events_request.py index 69096d770..accd83f45 100644 --- a/src/test/test_execute_webhook_events_request.py +++ b/src/test/test_execute_webhook_events_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_execute_webhook_response.py b/src/test/test_execute_webhook_response.py index 751af1281..9f7dfee71 100644 --- a/src/test/test_execute_webhook_response.py +++ b/src/test/test_execute_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_file_storage_api.py b/src/test/test_file_storage_api.py index f4063794d..8dec713c8 100644 --- a/src/test/test_file_storage_api.py +++ b/src/test/test_file_storage_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -128,6 +128,13 @@ def test_files_search(self): """ pass + def test_files_update(self): + """Test case for files_update + + Rename or move File # noqa: E501 + """ + pass + def test_folders_add(self): """Test case for folders_add diff --git a/src/test/test_file_storage_event_type.py b/src/test/test_file_storage_event_type.py index 24b4fee35..eaed9167c 100644 --- a/src/test/test_file_storage_event_type.py +++ b/src/test/test_file_storage_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_file_type.py b/src/test/test_file_type.py index 7d0cf254f..593f05cd7 100644 --- a/src/test/test_file_type.py +++ b/src/test/test_file_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_files_filter.py b/src/test/test_files_filter.py index 732aa8886..2bb8b4bb4 100644 --- a/src/test/test_files_filter.py +++ b/src/test/test_files_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_files_search.py b/src/test/test_files_search.py index 52dfb14fa..3291b4ea1 100644 --- a/src/test/test_files_search.py +++ b/src/test/test_files_search.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_files_sort.py b/src/test/test_files_sort.py index 36d40353c..b6fb82d91 100644 --- a/src/test/test_files_sort.py +++ b/src/test/test_files_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_folder.py b/src/test/test_folder.py index 340c93178..2faa6043c 100644 --- a/src/test/test_folder.py +++ b/src/test/test_folder.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_form_field.py b/src/test/test_form_field.py index 909ab5fe5..6ed4aba69 100644 --- a/src/test/test_form_field.py +++ b/src/test/test_form_field.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_form_field_option.py b/src/test/test_form_field_option.py index 9a5693358..3249d2b4b 100644 --- a/src/test/test_form_field_option.py +++ b/src/test/test_form_field_option.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_form_field_option_group.py b/src/test/test_form_field_option_group.py index 9f79fe794..74fb056c2 100644 --- a/src/test/test_form_field_option_group.py +++ b/src/test/test_form_field_option_group.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_gender.py b/src/test/test_gender.py index aa4f09ce7..eb6029af0 100644 --- a/src/test/test_gender.py +++ b/src/test/test_gender.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_activities_response.py b/src/test/test_get_activities_response.py index 242612174..6b9c884c5 100644 --- a/src/test/test_get_activities_response.py +++ b/src/test/test_get_activities_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_activity_response.py b/src/test/test_get_activity_response.py index 24ee8fd4b..5ec759f65 100644 --- a/src/test/test_get_activity_response.py +++ b/src/test/test_get_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_api_resource_coverage_response.py b/src/test/test_get_api_resource_coverage_response.py index 51b6a125c..89adafb1a 100644 --- a/src/test/test_get_api_resource_coverage_response.py +++ b/src/test/test_get_api_resource_coverage_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_api_resource_response.py b/src/test/test_get_api_resource_response.py index d679223c8..120d9b35d 100644 --- a/src/test/test_get_api_resource_response.py +++ b/src/test/test_get_api_resource_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_api_response.py b/src/test/test_get_api_response.py index 992e6e959..28ff34037 100644 --- a/src/test/test_get_api_response.py +++ b/src/test/test_get_api_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_apis_response.py b/src/test/test_get_apis_response.py index 94de37b79..fcfac1ccb 100644 --- a/src/test/test_get_apis_response.py +++ b/src/test/test_get_apis_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_applicant_response.py b/src/test/test_get_applicant_response.py index e050951aa..0fc26b78e 100644 --- a/src/test/test_get_applicant_response.py +++ b/src/test/test_get_applicant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_applicants_response.py b/src/test/test_get_applicants_response.py index 731d647ee..2ff74529e 100644 --- a/src/test/test_get_applicants_response.py +++ b/src/test/test_get_applicants_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_balance_sheet_response.py b/src/test/test_get_balance_sheet_response.py index c037fddf6..6e168aa5f 100644 --- a/src/test/test_get_balance_sheet_response.py +++ b/src/test/test_get_balance_sheet_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_bill_response.py b/src/test/test_get_bill_response.py index d9626f3cf..1674b4fc0 100644 --- a/src/test/test_get_bill_response.py +++ b/src/test/test_get_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_bills_response.py b/src/test/test_get_bills_response.py index c4776b41e..e62f123eb 100644 --- a/src/test/test_get_bills_response.py +++ b/src/test/test_get_bills_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_collection_response.py b/src/test/test_get_collection_response.py new file mode 100644 index 000000000..26e2db60e --- /dev/null +++ b/src/test/test_get_collection_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection import Collection +globals()['Collection'] = Collection +from apideck.model.get_collection_response import GetCollectionResponse + + +class TestGetCollectionResponse(unittest.TestCase): + """GetCollectionResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetCollectionResponse(self): + """Test GetCollectionResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetCollectionResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_collection_tags_response.py b/src/test/test_get_collection_tags_response.py new file mode 100644 index 000000000..1f0847ebf --- /dev/null +++ b/src/test/test_get_collection_tags_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_tag import CollectionTag +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['CollectionTag'] = CollectionTag +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_collection_tags_response import GetCollectionTagsResponse + + +class TestGetCollectionTagsResponse(unittest.TestCase): + """GetCollectionTagsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetCollectionTagsResponse(self): + """Test GetCollectionTagsResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetCollectionTagsResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_collection_user_response.py b/src/test/test_get_collection_user_response.py new file mode 100644 index 000000000..aa682ac4b --- /dev/null +++ b/src/test/test_get_collection_user_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_user import CollectionUser +globals()['CollectionUser'] = CollectionUser +from apideck.model.get_collection_user_response import GetCollectionUserResponse + + +class TestGetCollectionUserResponse(unittest.TestCase): + """GetCollectionUserResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetCollectionUserResponse(self): + """Test GetCollectionUserResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetCollectionUserResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_collection_users_response.py b/src/test/test_get_collection_users_response.py new file mode 100644 index 000000000..cd1a4b379 --- /dev/null +++ b/src/test/test_get_collection_users_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_user import CollectionUser +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['CollectionUser'] = CollectionUser +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_collection_users_response import GetCollectionUsersResponse + + +class TestGetCollectionUsersResponse(unittest.TestCase): + """GetCollectionUsersResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetCollectionUsersResponse(self): + """Test GetCollectionUsersResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetCollectionUsersResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_collections_response.py b/src/test/test_get_collections_response.py new file mode 100644 index 000000000..aed5db9ba --- /dev/null +++ b/src/test/test_get_collections_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection import Collection +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['Collection'] = Collection +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_collections_response import GetCollectionsResponse + + +class TestGetCollectionsResponse(unittest.TestCase): + """GetCollectionsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetCollectionsResponse(self): + """Test GetCollectionsResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetCollectionsResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_comment_response.py b/src/test/test_get_comment_response.py new file mode 100644 index 000000000..7881e9931 --- /dev/null +++ b/src/test/test_get_comment_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_ticket_comment import CollectionTicketComment +globals()['CollectionTicketComment'] = CollectionTicketComment +from apideck.model.get_comment_response import GetCommentResponse + + +class TestGetCommentResponse(unittest.TestCase): + """GetCommentResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetCommentResponse(self): + """Test GetCommentResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetCommentResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_comments_response.py b/src/test/test_get_comments_response.py new file mode 100644 index 000000000..2c76485da --- /dev/null +++ b/src/test/test_get_comments_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.collection_ticket_comment import CollectionTicketComment +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['CollectionTicketComment'] = CollectionTicketComment +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_comments_response import GetCommentsResponse + + +class TestGetCommentsResponse(unittest.TestCase): + """GetCommentsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetCommentsResponse(self): + """Test GetCommentsResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetCommentsResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_companies_response.py b/src/test/test_get_companies_response.py index ba9e944e0..3b3f3ae03 100644 --- a/src/test/test_get_companies_response.py +++ b/src/test/test_get_companies_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_company_info_response.py b/src/test/test_get_company_info_response.py index 4ea245208..1e0644e79 100644 --- a/src/test/test_get_company_info_response.py +++ b/src/test/test_get_company_info_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_company_response.py b/src/test/test_get_company_response.py index c73bd1256..b7565eef3 100644 --- a/src/test/test_get_company_response.py +++ b/src/test/test_get_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_connection_response.py b/src/test/test_get_connection_response.py index 4814d0c24..7c2e7bd12 100644 --- a/src/test/test_get_connection_response.py +++ b/src/test/test_get_connection_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_connections_response.py b/src/test/test_get_connections_response.py index 2ce5a7490..bfadf253b 100644 --- a/src/test/test_get_connections_response.py +++ b/src/test/test_get_connections_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_connector_resource_response.py b/src/test/test_get_connector_resource_response.py index d6664162a..88c530bce 100644 --- a/src/test/test_get_connector_resource_response.py +++ b/src/test/test_get_connector_resource_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_connector_response.py b/src/test/test_get_connector_response.py index 42cc2be1c..9848f4b2d 100644 --- a/src/test/test_get_connector_response.py +++ b/src/test/test_get_connector_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_connectors_response.py b/src/test/test_get_connectors_response.py index 8562ceb30..985a7389b 100644 --- a/src/test/test_get_connectors_response.py +++ b/src/test/test_get_connectors_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_consumer_response.py b/src/test/test_get_consumer_response.py index 827ec7c06..7b7e00327 100644 --- a/src/test/test_get_consumer_response.py +++ b/src/test/test_get_consumer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_consumers_response.py b/src/test/test_get_consumers_response.py index 18f03d903..7e23069d8 100644 --- a/src/test/test_get_consumers_response.py +++ b/src/test/test_get_consumers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_consumers_response_data.py b/src/test/test_get_consumers_response_data.py index ec3125787..bc03676ff 100644 --- a/src/test/test_get_consumers_response_data.py +++ b/src/test/test_get_consumers_response_data.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_contact_response.py b/src/test/test_get_contact_response.py index d31c84cd7..add1cb37f 100644 --- a/src/test/test_get_contact_response.py +++ b/src/test/test_get_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_contacts_response.py b/src/test/test_get_contacts_response.py index 9c709f7dd..11c0db0b7 100644 --- a/src/test/test_get_contacts_response.py +++ b/src/test/test_get_contacts_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_credit_note_response.py b/src/test/test_get_credit_note_response.py index 46d81a22f..a52f39c6e 100644 --- a/src/test/test_get_credit_note_response.py +++ b/src/test/test_get_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_credit_notes_response.py b/src/test/test_get_credit_notes_response.py index 93be754df..5e876281d 100644 --- a/src/test/test_get_credit_notes_response.py +++ b/src/test/test_get_credit_notes_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_customer_response.py b/src/test/test_get_customer_response.py index 9c0e22fae..ec1d34efe 100644 --- a/src/test/test_get_customer_response.py +++ b/src/test/test_get_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_customer_support_customer_response.py b/src/test/test_get_customer_support_customer_response.py index 605068fce..cdcc0d0df 100644 --- a/src/test/test_get_customer_support_customer_response.py +++ b/src/test/test_get_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_customer_support_customers_response.py b/src/test/test_get_customer_support_customers_response.py index 903810cf0..a9a6ee2a1 100644 --- a/src/test/test_get_customer_support_customers_response.py +++ b/src/test/test_get_customer_support_customers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_customers_response.py b/src/test/test_get_customers_response.py index 18fccc4aa..c32a73bea 100644 --- a/src/test/test_get_customers_response.py +++ b/src/test/test_get_customers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_department_response.py b/src/test/test_get_department_response.py index 2e38eaa9b..82f01953e 100644 --- a/src/test/test_get_department_response.py +++ b/src/test/test_get_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_departments_response.py b/src/test/test_get_departments_response.py index 15f8e8122..bc3b20778 100644 --- a/src/test/test_get_departments_response.py +++ b/src/test/test_get_departments_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_drive_group_response.py b/src/test/test_get_drive_group_response.py index 57b41e682..ca7fb748b 100644 --- a/src/test/test_get_drive_group_response.py +++ b/src/test/test_get_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_drive_groups_response.py b/src/test/test_get_drive_groups_response.py index 3674951ec..6eedb1798 100644 --- a/src/test/test_get_drive_groups_response.py +++ b/src/test/test_get_drive_groups_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_drive_response.py b/src/test/test_get_drive_response.py index 4f0837274..7dc5c76d3 100644 --- a/src/test/test_get_drive_response.py +++ b/src/test/test_get_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_drives_response.py b/src/test/test_get_drives_response.py index 65cda241b..6d367090b 100644 --- a/src/test/test_get_drives_response.py +++ b/src/test/test_get_drives_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_ecommerce_customer_response.py b/src/test/test_get_ecommerce_customer_response.py new file mode 100644 index 000000000..3a84dff05 --- /dev/null +++ b/src/test/test_get_ecommerce_customer_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_customer import EcommerceCustomer +globals()['EcommerceCustomer'] = EcommerceCustomer +from apideck.model.get_ecommerce_customer_response import GetEcommerceCustomerResponse + + +class TestGetEcommerceCustomerResponse(unittest.TestCase): + """GetEcommerceCustomerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetEcommerceCustomerResponse(self): + """Test GetEcommerceCustomerResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetEcommerceCustomerResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_ecommerce_customers_response.py b/src/test/test_get_ecommerce_customers_response.py new file mode 100644 index 000000000..b8cc6bdc4 --- /dev/null +++ b/src/test/test_get_ecommerce_customers_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_customer import EcommerceCustomer +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['EcommerceCustomer'] = EcommerceCustomer +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_ecommerce_customers_response import GetEcommerceCustomersResponse + + +class TestGetEcommerceCustomersResponse(unittest.TestCase): + """GetEcommerceCustomersResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetEcommerceCustomersResponse(self): + """Test GetEcommerceCustomersResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetEcommerceCustomersResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_ecommerce_order_response.py b/src/test/test_get_ecommerce_order_response.py new file mode 100644 index 000000000..c494936c4 --- /dev/null +++ b/src/test/test_get_ecommerce_order_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_order import EcommerceOrder +globals()['EcommerceOrder'] = EcommerceOrder +from apideck.model.get_ecommerce_order_response import GetEcommerceOrderResponse + + +class TestGetEcommerceOrderResponse(unittest.TestCase): + """GetEcommerceOrderResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetEcommerceOrderResponse(self): + """Test GetEcommerceOrderResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetEcommerceOrderResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_ecommerce_orders_response.py b/src/test/test_get_ecommerce_orders_response.py new file mode 100644 index 000000000..a4e1fe81e --- /dev/null +++ b/src/test/test_get_ecommerce_orders_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_order import EcommerceOrder +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['EcommerceOrder'] = EcommerceOrder +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_ecommerce_orders_response import GetEcommerceOrdersResponse + + +class TestGetEcommerceOrdersResponse(unittest.TestCase): + """GetEcommerceOrdersResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetEcommerceOrdersResponse(self): + """Test GetEcommerceOrdersResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetEcommerceOrdersResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_employee_payroll_response.py b/src/test/test_get_employee_payroll_response.py index c791cee42..513a6ee33 100644 --- a/src/test/test_get_employee_payroll_response.py +++ b/src/test/test_get_employee_payroll_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_employee_payrolls_response.py b/src/test/test_get_employee_payrolls_response.py index f9d8ee31a..777762439 100644 --- a/src/test/test_get_employee_payrolls_response.py +++ b/src/test/test_get_employee_payrolls_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_employee_response.py b/src/test/test_get_employee_response.py index c77686a0b..fd3d081ba 100644 --- a/src/test/test_get_employee_response.py +++ b/src/test/test_get_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_employee_schedules_response.py b/src/test/test_get_employee_schedules_response.py index be42e2361..99fad55dc 100644 --- a/src/test/test_get_employee_schedules_response.py +++ b/src/test/test_get_employee_schedules_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_employees_response.py b/src/test/test_get_employees_response.py index 6f1f4f8f1..8f45a952a 100644 --- a/src/test/test_get_employees_response.py +++ b/src/test/test_get_employees_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_file_response.py b/src/test/test_get_file_response.py index 56ac6e3ae..d4e567fe8 100644 --- a/src/test/test_get_file_response.py +++ b/src/test/test_get_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_files_response.py b/src/test/test_get_files_response.py index b8223fea5..171cef7d1 100644 --- a/src/test/test_get_files_response.py +++ b/src/test/test_get_files_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_folder_response.py b/src/test/test_get_folder_response.py index 699c87342..63e084042 100644 --- a/src/test/test_get_folder_response.py +++ b/src/test/test_get_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_folders_response.py b/src/test/test_get_folders_response.py index ebd4b5f18..43e8bf5c9 100644 --- a/src/test/test_get_folders_response.py +++ b/src/test/test_get_folders_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_hris_companies_response.py b/src/test/test_get_hris_companies_response.py index 458cb65c2..1545feabc 100644 --- a/src/test/test_get_hris_companies_response.py +++ b/src/test/test_get_hris_companies_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_hris_company_response.py b/src/test/test_get_hris_company_response.py index 817d0a9fa..9fd29ab2e 100644 --- a/src/test/test_get_hris_company_response.py +++ b/src/test/test_get_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_hris_job_response.py b/src/test/test_get_hris_job_response.py index 6c3436688..7b8974394 100644 --- a/src/test/test_get_hris_job_response.py +++ b/src/test/test_get_hris_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_hris_jobs_response.py b/src/test/test_get_hris_jobs_response.py index 067d58dfc..2a5d96d21 100644 --- a/src/test/test_get_hris_jobs_response.py +++ b/src/test/test_get_hris_jobs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_invoice_item_response.py b/src/test/test_get_invoice_item_response.py index 2bd9775db..9800413f4 100644 --- a/src/test/test_get_invoice_item_response.py +++ b/src/test/test_get_invoice_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_invoice_items_response.py b/src/test/test_get_invoice_items_response.py index 7b0f3cf69..f57e7d219 100644 --- a/src/test/test_get_invoice_items_response.py +++ b/src/test/test_get_invoice_items_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_invoice_response.py b/src/test/test_get_invoice_response.py index 9f58ed1e9..3033dedfd 100644 --- a/src/test/test_get_invoice_response.py +++ b/src/test/test_get_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_invoices_response.py b/src/test/test_get_invoices_response.py index 9cbb16964..c5b857def 100644 --- a/src/test/test_get_invoices_response.py +++ b/src/test/test_get_invoices_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_item_response.py b/src/test/test_get_item_response.py index e39ee785f..768c57c3d 100644 --- a/src/test/test_get_item_response.py +++ b/src/test/test_get_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_items_response.py b/src/test/test_get_items_response.py index e65ee6cbe..2d015185a 100644 --- a/src/test/test_get_items_response.py +++ b/src/test/test_get_items_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_job_response.py b/src/test/test_get_job_response.py index d3620a0b6..f12af9bfb 100644 --- a/src/test/test_get_job_response.py +++ b/src/test/test_get_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_jobs_response.py b/src/test/test_get_jobs_response.py index f706ff008..c87dea789 100644 --- a/src/test/test_get_jobs_response.py +++ b/src/test/test_get_jobs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_journal_entries_response.py b/src/test/test_get_journal_entries_response.py new file mode 100644 index 000000000..3e4ee866c --- /dev/null +++ b/src/test/test_get_journal_entries_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.journal_entry import JournalEntry +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['JournalEntry'] = JournalEntry +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_journal_entries_response import GetJournalEntriesResponse + + +class TestGetJournalEntriesResponse(unittest.TestCase): + """GetJournalEntriesResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetJournalEntriesResponse(self): + """Test GetJournalEntriesResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetJournalEntriesResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_journal_entry_response.py b/src/test/test_get_journal_entry_response.py new file mode 100644 index 000000000..8161c56c0 --- /dev/null +++ b/src/test/test_get_journal_entry_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.journal_entry import JournalEntry +globals()['JournalEntry'] = JournalEntry +from apideck.model.get_journal_entry_response import GetJournalEntryResponse + + +class TestGetJournalEntryResponse(unittest.TestCase): + """GetJournalEntryResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetJournalEntryResponse(self): + """Test GetJournalEntryResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetJournalEntryResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_lead_response.py b/src/test/test_get_lead_response.py index b8828eab1..7785a705a 100644 --- a/src/test/test_get_lead_response.py +++ b/src/test/test_get_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_leads_response.py b/src/test/test_get_leads_response.py index 7e4e46d23..de6a270af 100644 --- a/src/test/test_get_leads_response.py +++ b/src/test/test_get_leads_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_ledger_account_response.py b/src/test/test_get_ledger_account_response.py index d9ca6409b..95ef4f46f 100644 --- a/src/test/test_get_ledger_account_response.py +++ b/src/test/test_get_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_ledger_accounts_response.py b/src/test/test_get_ledger_accounts_response.py index bae2ecde7..235b46c8f 100644 --- a/src/test/test_get_ledger_accounts_response.py +++ b/src/test/test_get_ledger_accounts_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_location_response.py b/src/test/test_get_location_response.py index a44ff2bf0..df74f18c9 100644 --- a/src/test/test_get_location_response.py +++ b/src/test/test_get_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_locations_response.py b/src/test/test_get_locations_response.py index 2d48b91aa..5c07df974 100644 --- a/src/test/test_get_locations_response.py +++ b/src/test/test_get_locations_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_logs_response.py b/src/test/test_get_logs_response.py index 613b471f1..db5f1eee0 100644 --- a/src/test/test_get_logs_response.py +++ b/src/test/test_get_logs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_merchant_response.py b/src/test/test_get_merchant_response.py index bc93270c0..057c5bf90 100644 --- a/src/test/test_get_merchant_response.py +++ b/src/test/test_get_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_merchants_response.py b/src/test/test_get_merchants_response.py index ca73ec96a..61daaeb94 100644 --- a/src/test/test_get_merchants_response.py +++ b/src/test/test_get_merchants_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_message_response.py b/src/test/test_get_message_response.py index d3f29fa42..787e3ea7a 100644 --- a/src/test/test_get_message_response.py +++ b/src/test/test_get_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_messages_response.py b/src/test/test_get_messages_response.py index d55ea4565..20d906e8c 100644 --- a/src/test/test_get_messages_response.py +++ b/src/test/test_get_messages_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_modifier_group_response.py b/src/test/test_get_modifier_group_response.py index 30e320f80..9000cfc24 100644 --- a/src/test/test_get_modifier_group_response.py +++ b/src/test/test_get_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_modifier_groups_response.py b/src/test/test_get_modifier_groups_response.py index b53227220..d8f57c6c4 100644 --- a/src/test/test_get_modifier_groups_response.py +++ b/src/test/test_get_modifier_groups_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_modifier_response.py b/src/test/test_get_modifier_response.py index 7440140ab..ce2408e09 100644 --- a/src/test/test_get_modifier_response.py +++ b/src/test/test_get_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_modifiers_response.py b/src/test/test_get_modifiers_response.py index d94456f81..b3f26d74f 100644 --- a/src/test/test_get_modifiers_response.py +++ b/src/test/test_get_modifiers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_note_response.py b/src/test/test_get_note_response.py index 90fdc5c25..3878b1001 100644 --- a/src/test/test_get_note_response.py +++ b/src/test/test_get_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_notes_response.py b/src/test/test_get_notes_response.py index 0a8e4ee72..b68f0be2e 100644 --- a/src/test/test_get_notes_response.py +++ b/src/test/test_get_notes_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_opportunities_response.py b/src/test/test_get_opportunities_response.py index 8afa49cb5..3e8c73ea0 100644 --- a/src/test/test_get_opportunities_response.py +++ b/src/test/test_get_opportunities_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_opportunity_response.py b/src/test/test_get_opportunity_response.py index c6435a4e3..9b4b9bdec 100644 --- a/src/test/test_get_opportunity_response.py +++ b/src/test/test_get_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_order_response.py b/src/test/test_get_order_response.py index 23a54d62c..b2118ff6d 100644 --- a/src/test/test_get_order_response.py +++ b/src/test/test_get_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_order_type_response.py b/src/test/test_get_order_type_response.py index eaf413fc3..5209cb6f1 100644 --- a/src/test/test_get_order_type_response.py +++ b/src/test/test_get_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_order_types_response.py b/src/test/test_get_order_types_response.py index 6d768196a..5eb40c8ac 100644 --- a/src/test/test_get_order_types_response.py +++ b/src/test/test_get_order_types_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_orders_response.py b/src/test/test_get_orders_response.py index 03a196e63..52ec22dea 100644 --- a/src/test/test_get_orders_response.py +++ b/src/test/test_get_orders_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_payment_response.py b/src/test/test_get_payment_response.py index 0473d78d9..f88322bc9 100644 --- a/src/test/test_get_payment_response.py +++ b/src/test/test_get_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_payments_response.py b/src/test/test_get_payments_response.py index a50e07134..542eacb05 100644 --- a/src/test/test_get_payments_response.py +++ b/src/test/test_get_payments_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_payroll_response.py b/src/test/test_get_payroll_response.py index 3ac0bc291..d6a22f380 100644 --- a/src/test/test_get_payroll_response.py +++ b/src/test/test_get_payroll_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_payrolls_response.py b/src/test/test_get_payrolls_response.py index 20498f984..29fb03a57 100644 --- a/src/test/test_get_payrolls_response.py +++ b/src/test/test_get_payrolls_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_pipeline_response.py b/src/test/test_get_pipeline_response.py index 522ff9a95..20fc729d1 100644 --- a/src/test/test_get_pipeline_response.py +++ b/src/test/test_get_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_pipelines_response.py b/src/test/test_get_pipelines_response.py index d0163c9ad..ce23f28ca 100644 --- a/src/test/test_get_pipelines_response.py +++ b/src/test/test_get_pipelines_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_pos_payment_response.py b/src/test/test_get_pos_payment_response.py index ddeb34c59..86ae0c692 100644 --- a/src/test/test_get_pos_payment_response.py +++ b/src/test/test_get_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_pos_payments_response.py b/src/test/test_get_pos_payments_response.py index f2a17c49d..1206d013f 100644 --- a/src/test/test_get_pos_payments_response.py +++ b/src/test/test_get_pos_payments_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_product_response.py b/src/test/test_get_product_response.py new file mode 100644 index 000000000..9d0d9df30 --- /dev/null +++ b/src/test/test_get_product_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product import EcommerceProduct +globals()['EcommerceProduct'] = EcommerceProduct +from apideck.model.get_product_response import GetProductResponse + + +class TestGetProductResponse(unittest.TestCase): + """GetProductResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetProductResponse(self): + """Test GetProductResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetProductResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_products_response.py b/src/test/test_get_products_response.py new file mode 100644 index 000000000..40b021f01 --- /dev/null +++ b/src/test/test_get_products_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_product import EcommerceProduct +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['EcommerceProduct'] = EcommerceProduct +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_products_response import GetProductsResponse + + +class TestGetProductsResponse(unittest.TestCase): + """GetProductsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetProductsResponse(self): + """Test GetProductsResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetProductsResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_profit_and_loss_response.py b/src/test/test_get_profit_and_loss_response.py index d18c30c5b..084df0b13 100644 --- a/src/test/test_get_profit_and_loss_response.py +++ b/src/test/test_get_profit_and_loss_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_shared_link_response.py b/src/test/test_get_shared_link_response.py index a01131557..4a1e070d2 100644 --- a/src/test/test_get_shared_link_response.py +++ b/src/test/test_get_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_shared_links_response.py b/src/test/test_get_shared_links_response.py index 46d57c232..5d9e9550f 100644 --- a/src/test/test_get_shared_links_response.py +++ b/src/test/test_get_shared_links_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_store_response.py b/src/test/test_get_store_response.py new file mode 100644 index 000000000..7c4cf6b98 --- /dev/null +++ b/src/test/test_get_store_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_store import EcommerceStore +globals()['EcommerceStore'] = EcommerceStore +from apideck.model.get_store_response import GetStoreResponse + + +class TestGetStoreResponse(unittest.TestCase): + """GetStoreResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetStoreResponse(self): + """Test GetStoreResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetStoreResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_stores_response.py b/src/test/test_get_stores_response.py new file mode 100644 index 000000000..efae6ce68 --- /dev/null +++ b/src/test/test_get_stores_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_store import EcommerceStore +from apideck.model.links import Links +from apideck.model.meta import Meta +globals()['EcommerceStore'] = EcommerceStore +globals()['Links'] = Links +globals()['Meta'] = Meta +from apideck.model.get_stores_response import GetStoresResponse + + +class TestGetStoresResponse(unittest.TestCase): + """GetStoresResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetStoresResponse(self): + """Test GetStoresResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetStoresResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_supplier_response.py b/src/test/test_get_supplier_response.py index 5dedb8b2e..42a13cd92 100644 --- a/src/test/test_get_supplier_response.py +++ b/src/test/test_get_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_suppliers_response.py b/src/test/test_get_suppliers_response.py index 3aa961582..db5248f09 100644 --- a/src/test/test_get_suppliers_response.py +++ b/src/test/test_get_suppliers_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_tax_rate_response.py b/src/test/test_get_tax_rate_response.py index 35d9d3d0e..ec219f9cf 100644 --- a/src/test/test_get_tax_rate_response.py +++ b/src/test/test_get_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_tax_rates_response.py b/src/test/test_get_tax_rates_response.py index b8caea4c9..4bb351f62 100644 --- a/src/test/test_get_tax_rates_response.py +++ b/src/test/test_get_tax_rates_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_tender_response.py b/src/test/test_get_tender_response.py index 861eb2347..e11c48eb9 100644 --- a/src/test/test_get_tender_response.py +++ b/src/test/test_get_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_tenders_response.py b/src/test/test_get_tenders_response.py index 3c7d82acf..e2cd2dcde 100644 --- a/src/test/test_get_tenders_response.py +++ b/src/test/test_get_tenders_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_ticket_response.py b/src/test/test_get_ticket_response.py new file mode 100644 index 000000000..676ecc57d --- /dev/null +++ b/src/test/test_get_ticket_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ticket import Ticket +globals()['Ticket'] = Ticket +from apideck.model.get_ticket_response import GetTicketResponse + + +class TestGetTicketResponse(unittest.TestCase): + """GetTicketResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetTicketResponse(self): + """Test GetTicketResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetTicketResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_tickets_response.py b/src/test/test_get_tickets_response.py new file mode 100644 index 000000000..c6cfd5141 --- /dev/null +++ b/src/test/test_get_tickets_response.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.links import Links +from apideck.model.meta import Meta +from apideck.model.ticket import Ticket +globals()['Links'] = Links +globals()['Meta'] = Meta +globals()['Ticket'] = Ticket +from apideck.model.get_tickets_response import GetTicketsResponse + + +class TestGetTicketsResponse(unittest.TestCase): + """GetTicketsResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testGetTicketsResponse(self): + """Test GetTicketsResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = GetTicketsResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_get_time_off_request_response.py b/src/test/test_get_time_off_request_response.py index ef9780394..d2bc532d8 100644 --- a/src/test/test_get_time_off_request_response.py +++ b/src/test/test_get_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_time_off_requests_response.py b/src/test/test_get_time_off_requests_response.py index 9402a8bdb..7dff069d2 100644 --- a/src/test/test_get_time_off_requests_response.py +++ b/src/test/test_get_time_off_requests_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_upload_session_response.py b/src/test/test_get_upload_session_response.py index 9e392de6e..f6ada3730 100644 --- a/src/test/test_get_upload_session_response.py +++ b/src/test/test_get_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_user_response.py b/src/test/test_get_user_response.py index b6eaf072f..8a0e68590 100644 --- a/src/test/test_get_user_response.py +++ b/src/test/test_get_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_users_response.py b/src/test/test_get_users_response.py index 1703f9783..e0935c477 100644 --- a/src/test/test_get_users_response.py +++ b/src/test/test_get_users_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_webhook_event_logs_response.py b/src/test/test_get_webhook_event_logs_response.py index 32de2bd61..6a1117b2d 100644 --- a/src/test/test_get_webhook_event_logs_response.py +++ b/src/test/test_get_webhook_event_logs_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_webhook_response.py b/src/test/test_get_webhook_response.py index c2dc5d591..30a993748 100644 --- a/src/test/test_get_webhook_response.py +++ b/src/test/test_get_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_get_webhooks_response.py b/src/test/test_get_webhooks_response.py index 5c15e1f4f..f5dab4940 100644 --- a/src/test/test_get_webhooks_response.py +++ b/src/test/test_get_webhooks_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_hris_api.py b/src/test/test_hris_api.py index 0d2455e7c..d90127f1d 100644 --- a/src/test/test_hris_api.py +++ b/src/test/test_hris_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -149,20 +149,6 @@ def test_employees_update(self): """ pass - def test_jobs_all(self): - """Test case for jobs_all - - List Jobs # noqa: E501 - """ - pass - - def test_jobs_one(self): - """Test case for jobs_one - - One Job # noqa: E501 - """ - pass - def test_payrolls_all(self): """Test case for payrolls_all diff --git a/src/test/test_hris_company.py b/src/test/test_hris_company.py index dbd48eee0..cfc66378a 100644 --- a/src/test/test_hris_company.py +++ b/src/test/test_hris_company.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_hris_event_type.py b/src/test/test_hris_event_type.py index e6ffaad4d..31f9cd092 100644 --- a/src/test/test_hris_event_type.py +++ b/src/test/test_hris_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_hris_job.py b/src/test/test_hris_job.py index feac4eecf..c00ab9175 100644 --- a/src/test/test_hris_job.py +++ b/src/test/test_hris_job.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -12,7 +12,9 @@ import unittest import apideck +from apideck.model.employment_status import EmploymentStatus from apideck.model.hris_job_location import HrisJobLocation +globals()['EmploymentStatus'] = EmploymentStatus globals()['HrisJobLocation'] = HrisJobLocation from apideck.model.hris_job import HrisJob diff --git a/src/test/test_hris_job_location.py b/src/test/test_hris_job_location.py index bc8e855e7..7655093d0 100644 --- a/src/test/test_hris_job_location.py +++ b/src/test/test_hris_job_location.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_hris_jobs.py b/src/test/test_hris_jobs.py index d2eef33c3..158ca6566 100644 --- a/src/test/test_hris_jobs.py +++ b/src/test/test_hris_jobs.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_idempotency_key.py b/src/test/test_idempotency_key.py index 3fb967baa..5a2224f54 100644 --- a/src/test/test_idempotency_key.py +++ b/src/test/test_idempotency_key.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_integration_state.py b/src/test/test_integration_state.py new file mode 100644 index 000000000..befd9399b --- /dev/null +++ b/src/test/test_integration_state.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.integration_state import IntegrationState + + +class TestIntegrationState(unittest.TestCase): + """IntegrationState unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIntegrationState(self): + """Test IntegrationState""" + # FIXME: construct object with mandatory attributes with example values + # model = IntegrationState() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_invoice.py b/src/test/test_invoice.py index d7ab5073b..6839f30b3 100644 --- a/src/test/test_invoice.py +++ b/src/test/test_invoice.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_item.py b/src/test/test_invoice_item.py index 5581f6298..91e72d6a8 100644 --- a/src/test/test_invoice_item.py +++ b/src/test/test_invoice_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_item_asset_account.py b/src/test/test_invoice_item_asset_account.py index 1d55c36c8..955b569a3 100644 --- a/src/test/test_invoice_item_asset_account.py +++ b/src/test/test_invoice_item_asset_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_item_expense_account.py b/src/test/test_invoice_item_expense_account.py index 7d63dd38c..d3640fb19 100644 --- a/src/test/test_invoice_item_expense_account.py +++ b/src/test/test_invoice_item_expense_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_item_income_account.py b/src/test/test_invoice_item_income_account.py index 36e514efb..32e551945 100644 --- a/src/test/test_invoice_item_income_account.py +++ b/src/test/test_invoice_item_income_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_item_sales_details.py b/src/test/test_invoice_item_sales_details.py index 37f4725f0..23fa46b53 100644 --- a/src/test/test_invoice_item_sales_details.py +++ b/src/test/test_invoice_item_sales_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_items_filter.py b/src/test/test_invoice_items_filter.py index 1c3d72f9d..6a66b9a9b 100644 --- a/src/test/test_invoice_items_filter.py +++ b/src/test/test_invoice_items_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_line_item.py b/src/test/test_invoice_line_item.py index cc6c6d52c..9052bffb4 100644 --- a/src/test/test_invoice_line_item.py +++ b/src/test/test_invoice_line_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoice_response.py b/src/test/test_invoice_response.py index 9eb89303f..21c8b369b 100644 --- a/src/test/test_invoice_response.py +++ b/src/test/test_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_invoices_sort.py b/src/test/test_invoices_sort.py index 33f396136..2aeeab950 100644 --- a/src/test/test_invoices_sort.py +++ b/src/test/test_invoices_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_issue_tracking_api.py b/src/test/test_issue_tracking_api.py new file mode 100644 index 000000000..21e1539a9 --- /dev/null +++ b/src/test/test_issue_tracking_api.py @@ -0,0 +1,133 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import unittest + +import apideck +from apideck.api.issue_tracking_api import IssueTrackingApi # noqa: E501 + + +class TestIssueTrackingApi(unittest.TestCase): + """IssueTrackingApi unit test stubs""" + + def setUp(self): + self.api = IssueTrackingApi() # noqa: E501 + + def tearDown(self): + pass + + def test_collection_tags_all(self): + """Test case for collection_tags_all + + List Tags # noqa: E501 + """ + pass + + def test_collection_ticket_comments_add(self): + """Test case for collection_ticket_comments_add + + Create Comment # noqa: E501 + """ + pass + + def test_collection_ticket_comments_all(self): + """Test case for collection_ticket_comments_all + + List Comments # noqa: E501 + """ + pass + + def test_collection_ticket_comments_delete(self): + """Test case for collection_ticket_comments_delete + + Delete Comment # noqa: E501 + """ + pass + + def test_collection_ticket_comments_one(self): + """Test case for collection_ticket_comments_one + + Get Comment # noqa: E501 + """ + pass + + def test_collection_ticket_comments_update(self): + """Test case for collection_ticket_comments_update + + Update Comment # noqa: E501 + """ + pass + + def test_collection_tickets_add(self): + """Test case for collection_tickets_add + + Create Ticket # noqa: E501 + """ + pass + + def test_collection_tickets_all(self): + """Test case for collection_tickets_all + + List Tickets # noqa: E501 + """ + pass + + def test_collection_tickets_delete(self): + """Test case for collection_tickets_delete + + Delete Ticket # noqa: E501 + """ + pass + + def test_collection_tickets_one(self): + """Test case for collection_tickets_one + + Get Ticket # noqa: E501 + """ + pass + + def test_collection_tickets_update(self): + """Test case for collection_tickets_update + + Update Ticket # noqa: E501 + """ + pass + + def test_collection_users_all(self): + """Test case for collection_users_all + + List Users # noqa: E501 + """ + pass + + def test_collection_users_one(self): + """Test case for collection_users_one + + Get user # noqa: E501 + """ + pass + + def test_collections_all(self): + """Test case for collections_all + + List Collections # noqa: E501 + """ + pass + + def test_collections_one(self): + """Test case for collections_one + + Get Collection # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_issue_tracking_event_type.py b/src/test/test_issue_tracking_event_type.py new file mode 100644 index 000000000..cc80f8016 --- /dev/null +++ b/src/test/test_issue_tracking_event_type.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.issue_tracking_event_type import IssueTrackingEventType + + +class TestIssueTrackingEventType(unittest.TestCase): + """IssueTrackingEventType unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIssueTrackingEventType(self): + """Test IssueTrackingEventType""" + # FIXME: construct object with mandatory attributes with example values + # model = IssueTrackingEventType() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_issues_filter.py b/src/test/test_issues_filter.py new file mode 100644 index 000000000..556eb8ed6 --- /dev/null +++ b/src/test/test_issues_filter.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.issues_filter import IssuesFilter + + +class TestIssuesFilter(unittest.TestCase): + """IssuesFilter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testIssuesFilter(self): + """Test IssuesFilter""" + # FIXME: construct object with mandatory attributes with example values + # model = IssuesFilter() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_item.py b/src/test/test_item.py index 0399c4af4..e19d0e3a5 100644 --- a/src/test/test_item.py +++ b/src/test/test_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_job.py b/src/test/test_job.py index bca8fe6d5..67f6ecceb 100644 --- a/src/test/test_job.py +++ b/src/test/test_job.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_job_salary.py b/src/test/test_job_salary.py index 3ea1cccf8..49861a1cc 100644 --- a/src/test/test_job_salary.py +++ b/src/test/test_job_salary.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_job_status.py b/src/test/test_job_status.py index 4465a8f49..1e737bbb7 100644 --- a/src/test/test_job_status.py +++ b/src/test/test_job_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_jobs_filter.py b/src/test/test_jobs_filter.py index f84fbc5d5..dd141033c 100644 --- a/src/test/test_jobs_filter.py +++ b/src/test/test_jobs_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_journal_entry.py b/src/test/test_journal_entry.py new file mode 100644 index 000000000..fb4d0cd6a --- /dev/null +++ b/src/test/test_journal_entry.py @@ -0,0 +1,39 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.currency import Currency +from apideck.model.journal_entry_line_item import JournalEntryLineItem +globals()['Currency'] = Currency +globals()['JournalEntryLineItem'] = JournalEntryLineItem +from apideck.model.journal_entry import JournalEntry + + +class TestJournalEntry(unittest.TestCase): + """JournalEntry unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testJournalEntry(self): + """Test JournalEntry""" + # FIXME: construct object with mandatory attributes with example values + # model = JournalEntry() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_journal_entry_line_item.py b/src/test/test_journal_entry_line_item.py new file mode 100644 index 000000000..30b738f4d --- /dev/null +++ b/src/test/test_journal_entry_line_item.py @@ -0,0 +1,41 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.linked_ledger_account import LinkedLedgerAccount +from apideck.model.linked_tax_rate import LinkedTaxRate +from apideck.model.linked_tracking_category import LinkedTrackingCategory +globals()['LinkedLedgerAccount'] = LinkedLedgerAccount +globals()['LinkedTaxRate'] = LinkedTaxRate +globals()['LinkedTrackingCategory'] = LinkedTrackingCategory +from apideck.model.journal_entry_line_item import JournalEntryLineItem + + +class TestJournalEntryLineItem(unittest.TestCase): + """JournalEntryLineItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testJournalEntryLineItem(self): + """Test JournalEntryLineItem""" + # FIXME: construct object with mandatory attributes with example values + # model = JournalEntryLineItem() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_lead.py b/src/test/test_lead.py index 1d172862f..0a40e62ec 100644 --- a/src/test/test_lead.py +++ b/src/test/test_lead.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_lead_api.py b/src/test/test_lead_api.py index 6569def36..36e3c991d 100644 --- a/src/test/test_lead_api.py +++ b/src/test/test_lead_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_lead_event_type.py b/src/test/test_lead_event_type.py index 11cea0e26..fb2ef7eed 100644 --- a/src/test/test_lead_event_type.py +++ b/src/test/test_lead_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_leads_filter.py b/src/test/test_leads_filter.py index 86c7fc9ff..43345cf78 100644 --- a/src/test/test_leads_filter.py +++ b/src/test/test_leads_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_leads_sort.py b/src/test/test_leads_sort.py index 796ad98a8..0f0b846f8 100644 --- a/src/test/test_leads_sort.py +++ b/src/test/test_leads_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ledger_account.py b/src/test/test_ledger_account.py index e2cc8c0f3..c92481aea 100644 --- a/src/test/test_ledger_account.py +++ b/src/test/test_ledger_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ledger_account_categories.py b/src/test/test_ledger_account_categories.py index fd595a16f..19846d997 100644 --- a/src/test/test_ledger_account_categories.py +++ b/src/test/test_ledger_account_categories.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ledger_account_parent_account.py b/src/test/test_ledger_account_parent_account.py index eae636156..43ccb1716 100644 --- a/src/test/test_ledger_account_parent_account.py +++ b/src/test/test_ledger_account_parent_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ledger_accounts.py b/src/test/test_ledger_accounts.py index 35e8ddbb3..41279cb45 100644 --- a/src/test/test_ledger_accounts.py +++ b/src/test/test_ledger_accounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_connector_resource.py b/src/test/test_linked_connector_resource.py index 25bd93556..04546717b 100644 --- a/src/test/test_linked_connector_resource.py +++ b/src/test/test_linked_connector_resource.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_customer.py b/src/test/test_linked_customer.py index ee58464ba..50136d741 100644 --- a/src/test/test_linked_customer.py +++ b/src/test/test_linked_customer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_ecommerce_customer.py b/src/test/test_linked_ecommerce_customer.py new file mode 100644 index 000000000..f8e634420 --- /dev/null +++ b/src/test/test_linked_ecommerce_customer.py @@ -0,0 +1,39 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.email import Email +from apideck.model.phone_number import PhoneNumber +globals()['Email'] = Email +globals()['PhoneNumber'] = PhoneNumber +from apideck.model.linked_ecommerce_customer import LinkedEcommerceCustomer + + +class TestLinkedEcommerceCustomer(unittest.TestCase): + """LinkedEcommerceCustomer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLinkedEcommerceCustomer(self): + """Test LinkedEcommerceCustomer""" + # FIXME: construct object with mandatory attributes with example values + # model = LinkedEcommerceCustomer() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_linked_ecommerce_order.py b/src/test/test_linked_ecommerce_order.py new file mode 100644 index 000000000..cabb46a17 --- /dev/null +++ b/src/test/test_linked_ecommerce_order.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.ecommerce_order_status import EcommerceOrderStatus +globals()['EcommerceOrderStatus'] = EcommerceOrderStatus +from apideck.model.linked_ecommerce_order import LinkedEcommerceOrder + + +class TestLinkedEcommerceOrder(unittest.TestCase): + """LinkedEcommerceOrder unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLinkedEcommerceOrder(self): + """Test LinkedEcommerceOrder""" + # FIXME: construct object with mandatory attributes with example values + # model = LinkedEcommerceOrder() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_linked_folder.py b/src/test/test_linked_folder.py index b273a072c..f9f1f2f83 100644 --- a/src/test/test_linked_folder.py +++ b/src/test/test_linked_folder.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_invoice_item.py b/src/test/test_linked_invoice_item.py index 07a6aa4f2..31261d47c 100644 --- a/src/test/test_linked_invoice_item.py +++ b/src/test/test_linked_invoice_item.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_ledger_account.py b/src/test/test_linked_ledger_account.py index 41d9be8f2..33cbb1081 100644 --- a/src/test/test_linked_ledger_account.py +++ b/src/test/test_linked_ledger_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_parent_customer.py b/src/test/test_linked_parent_customer.py new file mode 100644 index 000000000..c47c78ca1 --- /dev/null +++ b/src/test/test_linked_parent_customer.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.linked_parent_customer import LinkedParentCustomer + + +class TestLinkedParentCustomer(unittest.TestCase): + """LinkedParentCustomer unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLinkedParentCustomer(self): + """Test LinkedParentCustomer""" + # FIXME: construct object with mandatory attributes with example values + # model = LinkedParentCustomer() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_linked_supplier.py b/src/test/test_linked_supplier.py index 7e1cf7df8..819935f51 100644 --- a/src/test/test_linked_supplier.py +++ b/src/test/test_linked_supplier.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_tax_rate.py b/src/test/test_linked_tax_rate.py index 8cacc33b5..ceb0157b8 100644 --- a/src/test/test_linked_tax_rate.py +++ b/src/test/test_linked_tax_rate.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_linked_tracking_category.py b/src/test/test_linked_tracking_category.py new file mode 100644 index 000000000..3a791eabb --- /dev/null +++ b/src/test/test_linked_tracking_category.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.linked_tracking_category import LinkedTrackingCategory + + +class TestLinkedTrackingCategory(unittest.TestCase): + """LinkedTrackingCategory unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testLinkedTrackingCategory(self): + """Test LinkedTrackingCategory""" + # FIXME: construct object with mandatory attributes with example values + # model = LinkedTrackingCategory() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_links.py b/src/test/test_links.py index 4903c4af8..b44fe12e2 100644 --- a/src/test/test_links.py +++ b/src/test/test_links.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_location.py b/src/test/test_location.py index 4dd64efe3..34eb74423 100644 --- a/src/test/test_location.py +++ b/src/test/test_location.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_log.py b/src/test/test_log.py index ddbe4da82..dfe242675 100644 --- a/src/test/test_log.py +++ b/src/test/test_log.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_log_operation.py b/src/test/test_log_operation.py index 75682cd02..15682ae62 100644 --- a/src/test/test_log_operation.py +++ b/src/test/test_log_operation.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_log_service.py b/src/test/test_log_service.py index 894225a01..9c9b4f718 100644 --- a/src/test/test_log_service.py +++ b/src/test/test_log_service.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_logs_filter.py b/src/test/test_logs_filter.py index 11206cad8..ff7bd6795 100644 --- a/src/test/test_logs_filter.py +++ b/src/test/test_logs_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_merchant.py b/src/test/test_merchant.py index 5d280d049..1d01d3020 100644 --- a/src/test/test_merchant.py +++ b/src/test/test_merchant.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_message.py b/src/test/test_message.py index 0ec1570f6..0ffd83423 100644 --- a/src/test/test_message.py +++ b/src/test/test_message.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_meta.py b/src/test/test_meta.py index 62ca6de1b..efe0893e0 100644 --- a/src/test/test_meta.py +++ b/src/test/test_meta.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_meta_cursors.py b/src/test/test_meta_cursors.py index 1f0a4f8d3..cbd491abe 100644 --- a/src/test/test_meta_cursors.py +++ b/src/test/test_meta_cursors.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_modifier.py b/src/test/test_modifier.py index d033dd4c8..17dd4fd59 100644 --- a/src/test/test_modifier.py +++ b/src/test/test_modifier.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_modifier_group.py b/src/test/test_modifier_group.py index 262efe016..f6a84f8f6 100644 --- a/src/test/test_modifier_group.py +++ b/src/test/test_modifier_group.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_modifier_group_filter.py b/src/test/test_modifier_group_filter.py index faaccaca0..a81109bb5 100644 --- a/src/test/test_modifier_group_filter.py +++ b/src/test/test_modifier_group_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_not_found_response.py b/src/test/test_not_found_response.py index 1c942d76f..5e2b50418 100644 --- a/src/test/test_not_found_response.py +++ b/src/test/test_not_found_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_not_implemented_response.py b/src/test/test_not_implemented_response.py index 94edf2dea..e9a343290 100644 --- a/src/test/test_not_implemented_response.py +++ b/src/test/test_not_implemented_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_note.py b/src/test/test_note.py index b40e084d9..670732fb5 100644 --- a/src/test/test_note.py +++ b/src/test/test_note.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_o_auth_grant_type.py b/src/test/test_o_auth_grant_type.py index 993685fa0..3fcdf9948 100644 --- a/src/test/test_o_auth_grant_type.py +++ b/src/test/test_o_auth_grant_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_offer.py b/src/test/test_offer.py index 07a1a8dd4..6a4c88db2 100644 --- a/src/test/test_offer.py +++ b/src/test/test_offer.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_opportunities_filter.py b/src/test/test_opportunities_filter.py index 94d94854c..7e9e75063 100644 --- a/src/test/test_opportunities_filter.py +++ b/src/test/test_opportunities_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_opportunities_sort.py b/src/test/test_opportunities_sort.py index 07a8b1f13..7b25e9908 100644 --- a/src/test/test_opportunities_sort.py +++ b/src/test/test_opportunities_sort.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_opportunity.py b/src/test/test_opportunity.py index 0bed4c37f..bec8d4bb2 100644 --- a/src/test/test_opportunity.py +++ b/src/test/test_opportunity.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order.py b/src/test/test_order.py index 3ff64ae5b..75ddf9d12 100644 --- a/src/test/test_order.py +++ b/src/test/test_order.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_customers.py b/src/test/test_order_customers.py index 0451c73cb..65825e869 100644 --- a/src/test/test_order_customers.py +++ b/src/test/test_order_customers.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_discounts.py b/src/test/test_order_discounts.py index 119c908a6..f52b66a3a 100644 --- a/src/test/test_order_discounts.py +++ b/src/test/test_order_discounts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_fulfillments.py b/src/test/test_order_fulfillments.py index 60c8f0d29..a57d2de75 100644 --- a/src/test/test_order_fulfillments.py +++ b/src/test/test_order_fulfillments.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_line_items.py b/src/test/test_order_line_items.py index bfb8bbaaa..25597201b 100644 --- a/src/test/test_order_line_items.py +++ b/src/test/test_order_line_items.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_payments.py b/src/test/test_order_payments.py index cae1c3911..33f14be0c 100644 --- a/src/test/test_order_payments.py +++ b/src/test/test_order_payments.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_pickup_details.py b/src/test/test_order_pickup_details.py index 93afba9b9..ed2ba2865 100644 --- a/src/test/test_order_pickup_details.py +++ b/src/test/test_order_pickup_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_pickup_details_curbside_pickup_details.py b/src/test/test_order_pickup_details_curbside_pickup_details.py index 944d554d5..131bc29b6 100644 --- a/src/test/test_order_pickup_details_curbside_pickup_details.py +++ b/src/test/test_order_pickup_details_curbside_pickup_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_pickup_details_recipient.py b/src/test/test_order_pickup_details_recipient.py index 667410d60..06f4a6b39 100644 --- a/src/test/test_order_pickup_details_recipient.py +++ b/src/test/test_order_pickup_details_recipient.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_refunds.py b/src/test/test_order_refunds.py index 7f0327d17..c8a97213a 100644 --- a/src/test/test_order_refunds.py +++ b/src/test/test_order_refunds.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_tenders.py b/src/test/test_order_tenders.py index dda3a0351..7e02bbda2 100644 --- a/src/test/test_order_tenders.py +++ b/src/test/test_order_tenders.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_order_type.py b/src/test/test_order_type.py index 536037034..410eb7db4 100644 --- a/src/test/test_order_type.py +++ b/src/test/test_order_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_owner.py b/src/test/test_owner.py index e01a0c24f..1b265689e 100644 --- a/src/test/test_owner.py +++ b/src/test/test_owner.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pagination_coverage.py b/src/test/test_pagination_coverage.py index 14b875a41..b0dfa3f90 100644 --- a/src/test/test_pagination_coverage.py +++ b/src/test/test_pagination_coverage.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pass_through_query.py b/src/test/test_pass_through_query.py new file mode 100644 index 000000000..8f6ff32cd --- /dev/null +++ b/src/test/test_pass_through_query.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.pass_through_query import PassThroughQuery + + +class TestPassThroughQuery(unittest.TestCase): + """PassThroughQuery unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testPassThroughQuery(self): + """Test PassThroughQuery""" + # FIXME: construct object with mandatory attributes with example values + # model = PassThroughQuery() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_payment.py b/src/test/test_payment.py index 709d35015..7a9a63854 100644 --- a/src/test/test_payment.py +++ b/src/test/test_payment.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_payment_allocations.py b/src/test/test_payment_allocations.py index efe09cd81..70ab3323a 100644 --- a/src/test/test_payment_allocations.py +++ b/src/test/test_payment_allocations.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_payment_card.py b/src/test/test_payment_card.py index bc93085ed..28f056d5f 100644 --- a/src/test/test_payment_card.py +++ b/src/test/test_payment_card.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_payment_required_response.py b/src/test/test_payment_required_response.py index 4a6f393ac..a572d1078 100644 --- a/src/test/test_payment_required_response.py +++ b/src/test/test_payment_required_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_payment_unit.py b/src/test/test_payment_unit.py index b249c3cf9..e7ab39053 100644 --- a/src/test/test_payment_unit.py +++ b/src/test/test_payment_unit.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_payroll.py b/src/test/test_payroll.py index 56c2e440f..e88e9a939 100644 --- a/src/test/test_payroll.py +++ b/src/test/test_payroll.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_payroll_totals.py b/src/test/test_payroll_totals.py index de683ee5c..cd1ce510c 100644 --- a/src/test/test_payroll_totals.py +++ b/src/test/test_payroll_totals.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_payrolls_filter.py b/src/test/test_payrolls_filter.py index ccd783f22..9a07837f5 100644 --- a/src/test/test_payrolls_filter.py +++ b/src/test/test_payrolls_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_employee_partner.py b/src/test/test_person.py similarity index 59% rename from src/test/test_employee_partner.py rename to src/test/test_person.py index 1b4e5bb01..349a405e1 100644 --- a/src/test/test_employee_partner.py +++ b/src/test/test_person.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -14,11 +14,11 @@ import apideck from apideck.model.gender import Gender globals()['Gender'] = Gender -from apideck.model.employee_partner import EmployeePartner +from apideck.model.person import Person -class TestEmployeePartner(unittest.TestCase): - """EmployeePartner unit test stubs""" +class TestPerson(unittest.TestCase): + """Person unit test stubs""" def setUp(self): pass @@ -26,10 +26,10 @@ def setUp(self): def tearDown(self): pass - def testEmployeePartner(self): - """Test EmployeePartner""" + def testPerson(self): + """Test Person""" # FIXME: construct object with mandatory attributes with example values - # model = EmployeePartner() # noqa: E501 + # model = Person() # noqa: E501 pass diff --git a/src/test/test_phone_number.py b/src/test/test_phone_number.py index 1bf6d8bbe..85ee98315 100644 --- a/src/test/test_phone_number.py +++ b/src/test/test_phone_number.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pipeline.py b/src/test/test_pipeline.py index fa7bd3eb2..a471a73a7 100644 --- a/src/test/test_pipeline.py +++ b/src/test/test_pipeline.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pipeline_stages.py b/src/test/test_pipeline_stages.py index 22a89ab77..042a5952f 100644 --- a/src/test/test_pipeline_stages.py +++ b/src/test/test_pipeline_stages.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pos_api.py b/src/test/test_pos_api.py index b6a73d936..663dad283 100644 --- a/src/test/test_pos_api.py +++ b/src/test/test_pos_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pos_bank_account.py b/src/test/test_pos_bank_account.py index 861d25cbf..d47177752 100644 --- a/src/test/test_pos_bank_account.py +++ b/src/test/test_pos_bank_account.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pos_bank_account_ach_details.py b/src/test/test_pos_bank_account_ach_details.py index ed73c44d6..4296fad68 100644 --- a/src/test/test_pos_bank_account_ach_details.py +++ b/src/test/test_pos_bank_account_ach_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pos_payment.py b/src/test/test_pos_payment.py index aabcc6fb0..e125052a9 100644 --- a/src/test/test_pos_payment.py +++ b/src/test/test_pos_payment.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pos_payment_card_details.py b/src/test/test_pos_payment_card_details.py index 81beb73e9..82a12122e 100644 --- a/src/test/test_pos_payment_card_details.py +++ b/src/test/test_pos_payment_card_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_pos_payment_external_details.py b/src/test/test_pos_payment_external_details.py index 5bcdb9007..716e37612 100644 --- a/src/test/test_pos_payment_external_details.py +++ b/src/test/test_pos_payment_external_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_price.py b/src/test/test_price.py index 932eb656f..f332d3aed 100644 --- a/src/test/test_price.py +++ b/src/test/test_price.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss.py b/src/test/test_profit_and_loss.py index 10b4fbf37..4b6a387ee 100644 --- a/src/test/test_profit_and_loss.py +++ b/src/test/test_profit_and_loss.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_expenses.py b/src/test/test_profit_and_loss_expenses.py index acb0489d3..1c01ec013 100644 --- a/src/test/test_profit_and_loss_expenses.py +++ b/src/test/test_profit_and_loss_expenses.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_filter.py b/src/test/test_profit_and_loss_filter.py index 10743acff..7b08d5411 100644 --- a/src/test/test_profit_and_loss_filter.py +++ b/src/test/test_profit_and_loss_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_gross_profit.py b/src/test/test_profit_and_loss_gross_profit.py index 60ee4e4c5..12469ac46 100644 --- a/src/test/test_profit_and_loss_gross_profit.py +++ b/src/test/test_profit_and_loss_gross_profit.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_income.py b/src/test/test_profit_and_loss_income.py index 14173f0a5..959f882d1 100644 --- a/src/test/test_profit_and_loss_income.py +++ b/src/test/test_profit_and_loss_income.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_net_income.py b/src/test/test_profit_and_loss_net_income.py index 6ac9dd951..b689b9204 100644 --- a/src/test/test_profit_and_loss_net_income.py +++ b/src/test/test_profit_and_loss_net_income.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_net_operating_income.py b/src/test/test_profit_and_loss_net_operating_income.py index da61ea2fc..515d1854b 100644 --- a/src/test/test_profit_and_loss_net_operating_income.py +++ b/src/test/test_profit_and_loss_net_operating_income.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_record.py b/src/test/test_profit_and_loss_record.py index 80864ec77..4ac4ee8cd 100644 --- a/src/test/test_profit_and_loss_record.py +++ b/src/test/test_profit_and_loss_record.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_records.py b/src/test/test_profit_and_loss_records.py index 5153e5ae9..b171aa6e7 100644 --- a/src/test/test_profit_and_loss_records.py +++ b/src/test/test_profit_and_loss_records.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_profit_and_loss_section.py b/src/test/test_profit_and_loss_section.py index 84d96285a..c16d23bb2 100644 --- a/src/test/test_profit_and_loss_section.py +++ b/src/test/test_profit_and_loss_section.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_request_count_allocation.py b/src/test/test_request_count_allocation.py index bdc306a5b..f0ea5f6ab 100644 --- a/src/test/test_request_count_allocation.py +++ b/src/test/test_request_count_allocation.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_request_rate.py b/src/test/test_request_rate.py index 8a8bdae2e..b4fdce386 100644 --- a/src/test/test_request_rate.py +++ b/src/test/test_request_rate.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_resolve_webhook_event_request.py b/src/test/test_resolve_webhook_event_request.py index 1f4c4e9ab..062116fa3 100644 --- a/src/test/test_resolve_webhook_event_request.py +++ b/src/test/test_resolve_webhook_event_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_resolve_webhook_events_request.py b/src/test/test_resolve_webhook_events_request.py index ee2d84fbc..3a2d2a90d 100644 --- a/src/test/test_resolve_webhook_events_request.py +++ b/src/test/test_resolve_webhook_events_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_resolve_webhook_response.py b/src/test/test_resolve_webhook_response.py index 9e9401f00..8c0112388 100644 --- a/src/test/test_resolve_webhook_response.py +++ b/src/test/test_resolve_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_resource_status.py b/src/test/test_resource_status.py index bc4e6150a..6e882ca73 100644 --- a/src/test/test_resource_status.py +++ b/src/test/test_resource_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_schedule.py b/src/test/test_schedule.py index 94defed91..4943440fc 100644 --- a/src/test/test_schedule.py +++ b/src/test/test_schedule.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_schedule_work_pattern.py b/src/test/test_schedule_work_pattern.py index bbbb9c18e..22d4700d3 100644 --- a/src/test/test_schedule_work_pattern.py +++ b/src/test/test_schedule_work_pattern.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_schedule_work_pattern_odd_weeks.py b/src/test/test_schedule_work_pattern_odd_weeks.py index e9cf23dc7..6698c81de 100644 --- a/src/test/test_schedule_work_pattern_odd_weeks.py +++ b/src/test/test_schedule_work_pattern_odd_weeks.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_service_charge.py b/src/test/test_service_charge.py index 84ee3b68d..bab1a2747 100644 --- a/src/test/test_service_charge.py +++ b/src/test/test_service_charge.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_service_charges.py b/src/test/test_service_charges.py index 2063902fe..4baba85fa 100644 --- a/src/test/test_service_charges.py +++ b/src/test/test_service_charges.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_session.py b/src/test/test_session.py index 9cc3692a5..474bae3dc 100644 --- a/src/test/test_session.py +++ b/src/test/test_session.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_session_settings.py b/src/test/test_session_settings.py index 4ad6eca47..17fdfd9e9 100644 --- a/src/test/test_session_settings.py +++ b/src/test/test_session_settings.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_session_theme.py b/src/test/test_session_theme.py index 0ac42be86..9186ad911 100644 --- a/src/test/test_session_theme.py +++ b/src/test/test_session_theme.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_shared_link.py b/src/test/test_shared_link.py index 21d779134..7b3642d20 100644 --- a/src/test/test_shared_link.py +++ b/src/test/test_shared_link.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_shared_link_target.py b/src/test/test_shared_link_target.py index d56cb5932..131a191d2 100644 --- a/src/test/test_shared_link_target.py +++ b/src/test/test_shared_link_target.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_simple_form_field_option.py b/src/test/test_simple_form_field_option.py index be708f55a..afd14bbc1 100644 --- a/src/test/test_simple_form_field_option.py +++ b/src/test/test_simple_form_field_option.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_sms_api.py b/src/test/test_sms_api.py index 7a18c761c..1363ab5a9 100644 --- a/src/test/test_sms_api.py +++ b/src/test/test_sms_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_social_link.py b/src/test/test_social_link.py index 534a05bd6..f6c721597 100644 --- a/src/test/test_social_link.py +++ b/src/test/test_social_link.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_sort_direction.py b/src/test/test_sort_direction.py index a6459eb3b..f6dc2464f 100644 --- a/src/test/test_sort_direction.py +++ b/src/test/test_sort_direction.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_status.py b/src/test/test_status.py index da127427f..859043f3e 100644 --- a/src/test/test_status.py +++ b/src/test/test_status.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_supplier.py b/src/test/test_supplier.py index 68608af4d..87dbde018 100644 --- a/src/test/test_supplier.py +++ b/src/test/test_supplier.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_suppliers_filter.py b/src/test/test_suppliers_filter.py new file mode 100644 index 000000000..bb17ee583 --- /dev/null +++ b/src/test/test_suppliers_filter.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.suppliers_filter import SuppliersFilter + + +class TestSuppliersFilter(unittest.TestCase): + """SuppliersFilter unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testSuppliersFilter(self): + """Test SuppliersFilter""" + # FIXME: construct object with mandatory attributes with example values + # model = SuppliersFilter() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_supported_property.py b/src/test/test_supported_property.py index e996c5766..e960cf99d 100644 --- a/src/test/test_supported_property.py +++ b/src/test/test_supported_property.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_supported_property_child_properties.py b/src/test/test_supported_property_child_properties.py index 1fb44fe51..4d40cab89 100644 --- a/src/test/test_supported_property_child_properties.py +++ b/src/test/test_supported_property_child_properties.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_tags.py b/src/test/test_tags.py index 64466b983..46ac25541 100644 --- a/src/test/test_tags.py +++ b/src/test/test_tags.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_tax.py b/src/test/test_tax.py index f90f06a6e..2fee7de9c 100644 --- a/src/test/test_tax.py +++ b/src/test/test_tax.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_tax_rate.py b/src/test/test_tax_rate.py index 462bfadc7..0dc5df7b4 100644 --- a/src/test/test_tax_rate.py +++ b/src/test/test_tax_rate.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_tax_rates_filter.py b/src/test/test_tax_rates_filter.py index 053cbaac8..392b160b4 100644 --- a/src/test/test_tax_rates_filter.py +++ b/src/test/test_tax_rates_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_tender.py b/src/test/test_tender.py index 119cc3665..913337a8b 100644 --- a/src/test/test_tender.py +++ b/src/test/test_tender.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_ticket.py b/src/test/test_ticket.py new file mode 100644 index 000000000..6f10fabbf --- /dev/null +++ b/src/test/test_ticket.py @@ -0,0 +1,39 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.assignee import Assignee +from apideck.model.collection_tag import CollectionTag +globals()['Assignee'] = Assignee +globals()['CollectionTag'] = CollectionTag +from apideck.model.ticket import Ticket + + +class TestTicket(unittest.TestCase): + """Ticket unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTicket(self): + """Test Ticket""" + # FIXME: construct object with mandatory attributes with example values + # model = Ticket() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_tickets_sort.py b/src/test/test_tickets_sort.py new file mode 100644 index 000000000..4feef23bb --- /dev/null +++ b/src/test/test_tickets_sort.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.sort_direction import SortDirection +globals()['SortDirection'] = SortDirection +from apideck.model.tickets_sort import TicketsSort + + +class TestTicketsSort(unittest.TestCase): + """TicketsSort unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTicketsSort(self): + """Test TicketsSort""" + # FIXME: construct object with mandatory attributes with example values + # model = TicketsSort() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_time_off_request.py b/src/test/test_time_off_request.py index b2882c8a8..edd2d54ce 100644 --- a/src/test/test_time_off_request.py +++ b/src/test/test_time_off_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_time_off_request_notes.py b/src/test/test_time_off_request_notes.py index db5e575a5..15023c972 100644 --- a/src/test/test_time_off_request_notes.py +++ b/src/test/test_time_off_request_notes.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_time_off_requests_filter.py b/src/test/test_time_off_requests_filter.py index 875635dca..125d76811 100644 --- a/src/test/test_time_off_requests_filter.py +++ b/src/test/test_time_off_requests_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_too_many_requests_response.py b/src/test/test_too_many_requests_response.py index 80d2a2010..14c2ab419 100644 --- a/src/test/test_too_many_requests_response.py +++ b/src/test/test_too_many_requests_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_too_many_requests_response_detail.py b/src/test/test_too_many_requests_response_detail.py index 1b8f616ac..4a5a37b63 100644 --- a/src/test/test_too_many_requests_response_detail.py +++ b/src/test/test_too_many_requests_response_detail.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_tracking_item.py b/src/test/test_tracking_item.py new file mode 100644 index 000000000..e842ddb0c --- /dev/null +++ b/src/test/test_tracking_item.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.tracking_item import TrackingItem + + +class TestTrackingItem(unittest.TestCase): + """TrackingItem unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testTrackingItem(self): + """Test TrackingItem""" + # FIXME: construct object with mandatory attributes with example values + # model = TrackingItem() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_unauthorized_response.py b/src/test/test_unauthorized_response.py index f1e983487..ba8c5e4df 100644 --- a/src/test/test_unauthorized_response.py +++ b/src/test/test_unauthorized_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_unexpected_error_response.py b/src/test/test_unexpected_error_response.py index 0962c1b4f..4ec02815a 100644 --- a/src/test/test_unexpected_error_response.py +++ b/src/test/test_unexpected_error_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_unified_api_id.py b/src/test/test_unified_api_id.py index 576cda3af..1e96aaa9e 100644 --- a/src/test/test_unified_api_id.py +++ b/src/test/test_unified_api_id.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_unified_file.py b/src/test/test_unified_file.py index d05040185..5a5fa721f 100644 --- a/src/test/test_unified_file.py +++ b/src/test/test_unified_file.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_unified_id.py b/src/test/test_unified_id.py index 1e71240c9..bbd2f18f2 100644 --- a/src/test/test_unified_id.py +++ b/src/test/test_unified_id.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_unprocessable_response.py b/src/test/test_unprocessable_response.py index 7917e7c5e..de548e666 100644 --- a/src/test/test_unprocessable_response.py +++ b/src/test/test_unprocessable_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_activity_response.py b/src/test/test_update_activity_response.py index f0258af24..719efdf07 100644 --- a/src/test/test_update_activity_response.py +++ b/src/test/test_update_activity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_bill_response.py b/src/test/test_update_bill_response.py index 458e55a5f..5e058dfbd 100644 --- a/src/test/test_update_bill_response.py +++ b/src/test/test_update_bill_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_comment_response.py b/src/test/test_update_comment_response.py new file mode 100644 index 000000000..e41ff4b8d --- /dev/null +++ b/src/test/test_update_comment_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.update_comment_response import UpdateCommentResponse + + +class TestUpdateCommentResponse(unittest.TestCase): + """UpdateCommentResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateCommentResponse(self): + """Test UpdateCommentResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateCommentResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_company_response.py b/src/test/test_update_company_response.py index 70f2f0f26..f5fbd8500 100644 --- a/src/test/test_update_company_response.py +++ b/src/test/test_update_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_connection_response.py b/src/test/test_update_connection_response.py index 3765589a2..14baaa516 100644 --- a/src/test/test_update_connection_response.py +++ b/src/test/test_update_connection_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_consumer_request.py b/src/test/test_update_consumer_request.py new file mode 100644 index 000000000..67e33c850 --- /dev/null +++ b/src/test/test_update_consumer_request.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.consumer_metadata import ConsumerMetadata +globals()['ConsumerMetadata'] = ConsumerMetadata +from apideck.model.update_consumer_request import UpdateConsumerRequest + + +class TestUpdateConsumerRequest(unittest.TestCase): + """UpdateConsumerRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateConsumerRequest(self): + """Test UpdateConsumerRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateConsumerRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_consumer_response.py b/src/test/test_update_consumer_response.py new file mode 100644 index 000000000..e331d52d2 --- /dev/null +++ b/src/test/test_update_consumer_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.consumer import Consumer +globals()['Consumer'] = Consumer +from apideck.model.update_consumer_response import UpdateConsumerResponse + + +class TestUpdateConsumerResponse(unittest.TestCase): + """UpdateConsumerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateConsumerResponse(self): + """Test UpdateConsumerResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateConsumerResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_contact_response.py b/src/test/test_update_contact_response.py index baed2f707..2d28c9f25 100644 --- a/src/test/test_update_contact_response.py +++ b/src/test/test_update_contact_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_credit_note_response.py b/src/test/test_update_credit_note_response.py index 05d7e28c6..ea98e429c 100644 --- a/src/test/test_update_credit_note_response.py +++ b/src/test/test_update_credit_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_customer_response.py b/src/test/test_update_customer_response.py index 43845792e..8ac46668d 100644 --- a/src/test/test_update_customer_response.py +++ b/src/test/test_update_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_customer_support_customer_response.py b/src/test/test_update_customer_support_customer_response.py index 311303f0b..6af5b72b4 100644 --- a/src/test/test_update_customer_support_customer_response.py +++ b/src/test/test_update_customer_support_customer_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_department_response.py b/src/test/test_update_department_response.py index 13a32d851..cd609bf01 100644 --- a/src/test/test_update_department_response.py +++ b/src/test/test_update_department_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_drive_group_response.py b/src/test/test_update_drive_group_response.py index b604eec5a..15b49bc04 100644 --- a/src/test/test_update_drive_group_response.py +++ b/src/test/test_update_drive_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_drive_response.py b/src/test/test_update_drive_response.py index 9c2a70b28..055e46fb9 100644 --- a/src/test/test_update_drive_response.py +++ b/src/test/test_update_drive_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_ecommerce_customer_response.py b/src/test/test_update_ecommerce_customer_response.py new file mode 100644 index 000000000..0a0e49fa0 --- /dev/null +++ b/src/test/test_update_ecommerce_customer_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.update_ecommerce_customer_response import UpdateEcommerceCustomerResponse + + +class TestUpdateEcommerceCustomerResponse(unittest.TestCase): + """UpdateEcommerceCustomerResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateEcommerceCustomerResponse(self): + """Test UpdateEcommerceCustomerResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateEcommerceCustomerResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_ecommerce_order_response.py b/src/test/test_update_ecommerce_order_response.py new file mode 100644 index 000000000..21bf52fb2 --- /dev/null +++ b/src/test/test_update_ecommerce_order_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.update_ecommerce_order_response import UpdateEcommerceOrderResponse + + +class TestUpdateEcommerceOrderResponse(unittest.TestCase): + """UpdateEcommerceOrderResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateEcommerceOrderResponse(self): + """Test UpdateEcommerceOrderResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateEcommerceOrderResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_employee_response.py b/src/test/test_update_employee_response.py index c116ea5fe..60c305350 100644 --- a/src/test/test_update_employee_response.py +++ b/src/test/test_update_employee_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_file_request.py b/src/test/test_update_file_request.py new file mode 100644 index 000000000..58edd286c --- /dev/null +++ b/src/test/test_update_file_request.py @@ -0,0 +1,35 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.update_file_request import UpdateFileRequest + + +class TestUpdateFileRequest(unittest.TestCase): + """UpdateFileRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateFileRequest(self): + """Test UpdateFileRequest""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateFileRequest() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_file_response.py b/src/test/test_update_file_response.py index 3c8910d73..8744bad69 100644 --- a/src/test/test_update_file_response.py +++ b/src/test/test_update_file_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_folder_request.py b/src/test/test_update_folder_request.py index c1954dc39..4892ac4dd 100644 --- a/src/test/test_update_folder_request.py +++ b/src/test/test_update_folder_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_folder_response.py b/src/test/test_update_folder_response.py index f3971af63..844a2a7d2 100644 --- a/src/test/test_update_folder_response.py +++ b/src/test/test_update_folder_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_hris_company_response.py b/src/test/test_update_hris_company_response.py index 9a26d12f6..c334b34bf 100644 --- a/src/test/test_update_hris_company_response.py +++ b/src/test/test_update_hris_company_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_invoice_items_response.py b/src/test/test_update_invoice_items_response.py index 138de7a06..2758c65b1 100644 --- a/src/test/test_update_invoice_items_response.py +++ b/src/test/test_update_invoice_items_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_invoice_response.py b/src/test/test_update_invoice_response.py index 5588451ec..e170601ab 100644 --- a/src/test/test_update_invoice_response.py +++ b/src/test/test_update_invoice_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_item_response.py b/src/test/test_update_item_response.py index 9fbfdee90..a10f67eb3 100644 --- a/src/test/test_update_item_response.py +++ b/src/test/test_update_item_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_job_response.py b/src/test/test_update_job_response.py index 163ff7433..19a706c68 100644 --- a/src/test/test_update_job_response.py +++ b/src/test/test_update_job_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_journal_entry_response.py b/src/test/test_update_journal_entry_response.py new file mode 100644 index 000000000..0a6d47884 --- /dev/null +++ b/src/test/test_update_journal_entry_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.update_journal_entry_response import UpdateJournalEntryResponse + + +class TestUpdateJournalEntryResponse(unittest.TestCase): + """UpdateJournalEntryResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateJournalEntryResponse(self): + """Test UpdateJournalEntryResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateJournalEntryResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_lead_response.py b/src/test/test_update_lead_response.py index b9fccfd5d..2e9fdab6b 100644 --- a/src/test/test_update_lead_response.py +++ b/src/test/test_update_lead_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_ledger_account_response.py b/src/test/test_update_ledger_account_response.py index 36e7748d2..199ec8bfd 100644 --- a/src/test/test_update_ledger_account_response.py +++ b/src/test/test_update_ledger_account_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_location_response.py b/src/test/test_update_location_response.py index 96225d800..78fcc31ec 100644 --- a/src/test/test_update_location_response.py +++ b/src/test/test_update_location_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_merchant_response.py b/src/test/test_update_merchant_response.py index 2a542a165..8209bdcdd 100644 --- a/src/test/test_update_merchant_response.py +++ b/src/test/test_update_merchant_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_message_response.py b/src/test/test_update_message_response.py index 2f7154fc3..428831acb 100644 --- a/src/test/test_update_message_response.py +++ b/src/test/test_update_message_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_modifier_group_response.py b/src/test/test_update_modifier_group_response.py index 786535dc6..f0d75eac7 100644 --- a/src/test/test_update_modifier_group_response.py +++ b/src/test/test_update_modifier_group_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_modifier_response.py b/src/test/test_update_modifier_response.py index b53066cb9..95a09cf8a 100644 --- a/src/test/test_update_modifier_response.py +++ b/src/test/test_update_modifier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_note_response.py b/src/test/test_update_note_response.py index 180ef6a13..e0842248f 100644 --- a/src/test/test_update_note_response.py +++ b/src/test/test_update_note_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_opportunity_response.py b/src/test/test_update_opportunity_response.py index 38ea8ce79..ba19b79e9 100644 --- a/src/test/test_update_opportunity_response.py +++ b/src/test/test_update_opportunity_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_order_response.py b/src/test/test_update_order_response.py index f6bc63c76..f65cb3ecb 100644 --- a/src/test/test_update_order_response.py +++ b/src/test/test_update_order_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_order_type_response.py b/src/test/test_update_order_type_response.py index 790c62a6a..18c5d94f4 100644 --- a/src/test/test_update_order_type_response.py +++ b/src/test/test_update_order_type_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_payment_response.py b/src/test/test_update_payment_response.py index f82299d53..4f83a0bbe 100644 --- a/src/test/test_update_payment_response.py +++ b/src/test/test_update_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_pipeline_response.py b/src/test/test_update_pipeline_response.py index 8e95163d7..a3f49da06 100644 --- a/src/test/test_update_pipeline_response.py +++ b/src/test/test_update_pipeline_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_pos_payment_response.py b/src/test/test_update_pos_payment_response.py index 3f1fe9c49..fb9f3a922 100644 --- a/src/test/test_update_pos_payment_response.py +++ b/src/test/test_update_pos_payment_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_product_response.py b/src/test/test_update_product_response.py new file mode 100644 index 000000000..39c3c8c2f --- /dev/null +++ b/src/test/test_update_product_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.update_product_response import UpdateProductResponse + + +class TestUpdateProductResponse(unittest.TestCase): + """UpdateProductResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateProductResponse(self): + """Test UpdateProductResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateProductResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_shared_link_response.py b/src/test/test_update_shared_link_response.py index c98b40330..4714d21a4 100644 --- a/src/test/test_update_shared_link_response.py +++ b/src/test/test_update_shared_link_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_supplier_response.py b/src/test/test_update_supplier_response.py index 5a3090745..b3f9dfe02 100644 --- a/src/test/test_update_supplier_response.py +++ b/src/test/test_update_supplier_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_tax_rate_response.py b/src/test/test_update_tax_rate_response.py index 17cbc437c..e90284c0b 100644 --- a/src/test/test_update_tax_rate_response.py +++ b/src/test/test_update_tax_rate_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_tender_response.py b/src/test/test_update_tender_response.py index b948529a7..f4bb5c43e 100644 --- a/src/test/test_update_tender_response.py +++ b/src/test/test_update_tender_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_ticket_response.py b/src/test/test_update_ticket_response.py new file mode 100644 index 000000000..2bd336caf --- /dev/null +++ b/src/test/test_update_ticket_response.py @@ -0,0 +1,37 @@ +""" + Apideck + + The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 + + The version of the OpenAPI document: 9.1.5 + Generated by: https://openapi-generator.tech +""" + + +import sys +import unittest + +import apideck +from apideck.model.unified_id import UnifiedId +globals()['UnifiedId'] = UnifiedId +from apideck.model.update_ticket_response import UpdateTicketResponse + + +class TestUpdateTicketResponse(unittest.TestCase): + """UpdateTicketResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def testUpdateTicketResponse(self): + """Test UpdateTicketResponse""" + # FIXME: construct object with mandatory attributes with example values + # model = UpdateTicketResponse() # noqa: E501 + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/test/test_update_time_off_request_response.py b/src/test/test_update_time_off_request_response.py index 3c79193ec..548d8b2b5 100644 --- a/src/test/test_update_time_off_request_response.py +++ b/src/test/test_update_time_off_request_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_upload_session_response.py b/src/test/test_update_upload_session_response.py index ed4ccea33..657137399 100644 --- a/src/test/test_update_upload_session_response.py +++ b/src/test/test_update_upload_session_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_user_response.py b/src/test/test_update_user_response.py index f1d048a60..c5e574225 100644 --- a/src/test/test_update_user_response.py +++ b/src/test/test_update_user_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_webhook_request.py b/src/test/test_update_webhook_request.py index 25173dd61..53b9bae41 100644 --- a/src/test/test_update_webhook_request.py +++ b/src/test/test_update_webhook_request.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_update_webhook_response.py b/src/test/test_update_webhook_response.py index 3ef48cd8e..af81b874a 100644 --- a/src/test/test_update_webhook_response.py +++ b/src/test/test_update_webhook_response.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_upload_session.py b/src/test/test_upload_session.py index 7bdbf0cd9..8d16cc3c4 100644 --- a/src/test/test_upload_session.py +++ b/src/test/test_upload_session.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_url.py b/src/test/test_url.py index fa89aa924..9abb00721 100644 --- a/src/test/test_url.py +++ b/src/test/test_url.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_user.py b/src/test/test_user.py index e9a24f302..bfdcc7d05 100644 --- a/src/test/test_user.py +++ b/src/test/test_user.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_vault_api.py b/src/test/test_vault_api.py index e72868abb..9b2b66fc6 100644 --- a/src/test/test_vault_api.py +++ b/src/test/test_vault_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ @@ -79,6 +79,13 @@ def test_consumer_request_counts_all(self): """ pass + def test_consumers_add(self): + """Test case for consumers_add + + Create consumer # noqa: E501 + """ + pass + def test_consumers_all(self): """Test case for consumers_all @@ -86,6 +93,13 @@ def test_consumers_all(self): """ pass + def test_consumers_delete(self): + """Test case for consumers_delete + + Delete consumer # noqa: E501 + """ + pass + def test_consumers_one(self): """Test case for consumers_one @@ -93,6 +107,13 @@ def test_consumers_one(self): """ pass + def test_consumers_update(self): + """Test case for consumers_update + + Update consumer # noqa: E501 + """ + pass + def test_logs_all(self): """Test case for logs_all diff --git a/src/test/test_vault_event_type.py b/src/test/test_vault_event_type.py index b9eb5307c..98e9183bc 100644 --- a/src/test/test_vault_event_type.py +++ b/src/test/test_vault_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_virtual_webhooks.py b/src/test/test_virtual_webhooks.py index 59ec6a696..f5b4d412a 100644 --- a/src/test/test_virtual_webhooks.py +++ b/src/test/test_virtual_webhooks.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_wallet_details.py b/src/test/test_wallet_details.py index fed454655..d0722067a 100644 --- a/src/test/test_wallet_details.py +++ b/src/test/test_wallet_details.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook.py b/src/test/test_webhook.py index ab56ebbcd..670cdfeb1 100644 --- a/src/test/test_webhook.py +++ b/src/test/test_webhook.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_api.py b/src/test/test_webhook_api.py index f89df0712..ffc01abbc 100644 --- a/src/test/test_webhook_api.py +++ b/src/test/test_webhook_api.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_event_log.py b/src/test/test_webhook_event_log.py index d96c3bd0b..2a6e7955c 100644 --- a/src/test/test_webhook_event_log.py +++ b/src/test/test_webhook_event_log.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_event_log_attempts.py b/src/test/test_webhook_event_log_attempts.py index 3784c8cf0..e8181f056 100644 --- a/src/test/test_webhook_event_log_attempts.py +++ b/src/test/test_webhook_event_log_attempts.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_event_log_service.py b/src/test/test_webhook_event_log_service.py index d266a2b8f..c89f5e033 100644 --- a/src/test/test_webhook_event_log_service.py +++ b/src/test/test_webhook_event_log_service.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_event_logs_filter.py b/src/test/test_webhook_event_logs_filter.py index 667d9d5e0..709c2c7fc 100644 --- a/src/test/test_webhook_event_logs_filter.py +++ b/src/test/test_webhook_event_logs_filter.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_event_logs_filter_service.py b/src/test/test_webhook_event_logs_filter_service.py index 29c7cb0ef..0a6e75d7c 100644 --- a/src/test/test_webhook_event_logs_filter_service.py +++ b/src/test/test_webhook_event_logs_filter_service.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_event_type.py b/src/test/test_webhook_event_type.py index 8f252187a..fdf41c137 100644 --- a/src/test/test_webhook_event_type.py +++ b/src/test/test_webhook_event_type.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_subscription.py b/src/test/test_webhook_subscription.py index 00fcf8c98..b5e69b248 100644 --- a/src/test/test_webhook_subscription.py +++ b/src/test/test_webhook_subscription.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_webhook_support.py b/src/test/test_webhook_support.py index 1d4af6c2b..720c56a6f 100644 --- a/src/test/test_webhook_support.py +++ b/src/test/test_webhook_support.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """ diff --git a/src/test/test_website.py b/src/test/test_website.py index 99937a783..d29928e2e 100644 --- a/src/test/test_website.py +++ b/src/test/test_website.py @@ -3,7 +3,7 @@ The Apideck OpenAPI Spec: SDK Optimized # noqa: E501 - The version of the OpenAPI document: 8.85.1 + The version of the OpenAPI document: 9.1.5 Generated by: https://openapi-generator.tech """